[wp-trac] [WordPress Trac] #31586: Admin Bar: site-name link for is_admin() in admin-bar.php

WordPress Trac noreply at wordpress.org
Tue Mar 10 22:39:28 UTC 2015


#31586: Admin Bar: site-name link for is_admin() in admin-bar.php
-------------------------+-------------------------
 Reporter:  landwire     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Toolbar      |     Version:  4.1.1
 Severity:  normal       |  Resolution:  worksforme
 Keywords:               |     Focuses:  ui
-------------------------+-------------------------

Comment (by landwire):

 Oh, bummer! Thanks! I just looked at my functions file where I had similar
 code to yours, but by accident I had add_filter, instead of add_action. I
 just assumed it does not work. Must be getting to late. And thanks for the
 is_admin() hint - way too late now :-)

 Thanks for the quick reply btw.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31586#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list