Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Currently language/theme ID detection in the "getPassedID" method works like this:

  1. if ID provided in URL, then use it
  2. if ID isn't provided in URL, then use "default" word
  3. set above detected ID back to URL
  4. call parent class "getPassedID" method what would basically just get that ID back from URL

Clearly the last step isn't required, because ID is already known at that point.

Solution

Immediately return detected ID of language/theme from "getPassedID" method.

Related Tasks

  • No labels