#26990 closed enhancement (duplicate)
Adding the "rel" attribute to Toolbar items
Reported by: | AlphaGolf_fr | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Toolbar | Keywords: | |
Focuses: | Cc: |
Description
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
Attachments (3)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Modified as per above