Make WordPress Core

Opened 21 years ago

Closed 20 years ago

Last modified 17 years ago

#2497 closed defect (bug) (invalid)

Author ID taken as Page ID in function function _page_level_out

Reported by: madnil Owned by:
Priority: normal Milestone:
Component: General Version: 2.0.1
Severity: minor Keywords:
Cc: Focuses:

Description

In the function "_page_level_out" of the file "template-functions-post.php" the variable $queried_obj->ID might refer to a author's ID. This can lead to adding the class identifier "current_page_item" to a page item, although an author's page was recalled.
Example: The author's page with the ID 2 is recalled and the item with the page ID 2 in the sidebar gets the wrong class.

Change History (1)

#1 @johnbillion
20 years ago

  • Keywords author page ID current_page_item removed
  • Resolutioninvalid
  • Status newclosed

Closing as invalid as this bug is now out of date. The file template-functions-post.php has been removed and the function _page_level_out no longer exists.

Note: See TracTickets for help on using tickets.