[wp-trac] [WordPress Trac] #2497: Author ID taken as Page ID in
function function _page_level_out
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 21 21:44:49 GMT 2006
#2497: Author ID taken as Page ID in function function _page_level_out
-----------------------+----------------------------------------------------
Id: 2497 | Status: new
Component: General | Modified: Tue Feb 21 21:44:49 2006
Severity: minor | Milestone:
Priority: normal | Version: 2.0.1
Owner: anonymous | Reporter: madnil
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/2497>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list