[wp-trac] [WordPress Trac] #14053: Weird, and seemingly incorrect, classes on menu items
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 22 22:21:04 UTC 2010
#14053: Weird, and seemingly incorrect, classes on menu items
-------------------------+--------------------------------------------------
Reporter: nathanrice | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0.1
Component: Menus | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Changes (by filosofo):
* type: defect (bug) => enhancement
Comment:
Replying to [comment:6 nathanrice]:
> I agree, if this was an unknown post-type. But this is a page. Shouldn't
it be `menu-item-type-page`?
In menu item jargon, "type" is the family of objects such as "taxonomy" or
"post_type"; the "object" is the specific kind within that family, such
as "page."
`menu-item-object-class.14053.diff` adds the class 'menu-item-object-page'
to pages, mutatis mutandis for the other object kinds.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14053#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list