[wp-trac] [WordPress Trac] #27234: Adding filters for Wordpress Toolbar add_node method
WordPress Trac
noreply at wordpress.org
Fri Feb 28 15:11:32 UTC 2014
#27234: Adding filters for Wordpress Toolbar add_node method
----------------------------+-----------------------------
Reporter: arpit.tambi.in | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Toolbar | Version: 3.8.1
Severity: normal | Keywords:
Focuses: template |
----------------------------+-----------------------------
I needed to add a rel="nofollow" attribute to one of the links on toolbar
but couldn't as there is no filter to let me change default toolbar
behavior.
I ended up modifying source code at line 435
https://core.trac.wordpress.org/browser/tags/3.8.1/src/wp-includes/class-
wp-admin-bar.php#L435
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27234>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list