[wp-trac] [WordPress Trac] #26990: Adding the "rel" attribute to Toolbar items

WordPress Trac noreply at wordpress.org
Sun Feb 2 07:59:37 UTC 2014


#26990: Adding the "rel" attribute to Toolbar items
-----------------------------+-----------------------------
 Reporter:  AlphaGolf_fr     |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Toolbar          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 This request is for Toolbar items to support the "rel" attribute, and
 render it when sent through the add_node function.  Could be used for any
 item that links to a paid part of the site, possibly the backend as well.
 Would be useful to any plugin/theme that add items to the Toolbar, whether
 hardcoded or created through the WP NavMenus page, and the optional
 "Relationship" field at that page.

 I've quickly modified the class-wp-admin-bar so it does support this
 attribute as a metainfo.  Sorry it's not a formal patch, I'm currently
 under Windows and have yet to find how to output the diff of files away
 from my screen, LOL. This one's based on 3.8.1

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26990>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list