[wp-trac] [WordPress Trac] #16738: Add filter for attributes on menu item links
WordPress Trac
noreply at wordpress.org
Thu Feb 28 08:21:02 UTC 2013
#16738: Add filter for attributes on menu item links
------------------------------------+------------------
Reporter: simonwheatley | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------
Comment (by SergeyBiryukov):
If a plugin adds `$atts['class'] = 'class="my-menu-link"'`, adding a
second class may be a non-trivial task.
I guess it would be easier to modify the attributes if the array values
were the actual attribute values rather than key-value pairs:
[attachment:16738.3.diff].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16738#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list