[buddypress-trac] [BuddyPress] #4771: Show the Toolbar for logged out users | Toolbar not showing no matter what

buddypress-trac noreply at wordpress.org
Thu Jan 17 19:22:52 UTC 2013


#4771: Show the Toolbar for logged out users | Toolbar not showing no matter what
------------------------------+---------------------
 Reporter:  magichew          |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  1.7
Component:  Core              |     Version:  1.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by r-a-y):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6724]) Fix 'Show the Toolbar for logged out users' setting.

 bp_core_load_admin_bar() uses the show_admin_bar() function; this
 function toggles the WP toolbar visibiility.

 WP recommends to use show_admin_bar() on 'plugins_loaded':
 https://codex.wordpress.org/Function_Reference/show_admin_bar#Notes

 Therefore, this commit changes when bp_core_load_admin_bar() runs
 from 'bp_init' to 'bp_loaded'.

 Fixes #4771.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4771#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list