WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 8 years ago

Last modified 6 years ago

#2497 closed defect (bug) (invalid)

Author ID taken as Page ID in function function _page_level_out

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

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)

comment:1 @johnbillion8 years ago

  • Keywords author page ID current_page_item removed
  • Resolution set to invalid
  • Status changed from new to closed

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.