Author ID taken as Page ID in function function _page_level_out
|Reported by:||madnil||Owned by:||anonymous|
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.