[wp-trac] [WordPress Trac] #14772: Administration bar
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 28 19:44:33 UTC 2010
#14772: Administration bar
----------------------------+-----------------------------------------------
Reporter: rmccue | Owner: filosofo
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Administration | Version: 3.1
Severity: normal | Keywords: multisite, ongoing-project
----------------------------+-----------------------------------------------
Comment(by neoxx):
I like the idea of moving ''is_user_logged_in()'' into
''is_admin_bar_showing()''. As ''is_user_logged_in()'' (pluggable.php) by
default is only available after ''plugins_loaded'' has fired, we should
add some hint into the docu of ''is_admin_bar_showing()''.
Another thing: I'm not sure about the priority in
''is_admin_bar_showing()''.
(1) The filter can be used to overrule the constant and the
''is_user_logged_in'' query. - In other words, should it be possible to
display the admin bar without a logged in user?
(2) Doesn't it get a bit hard to test/debug if we use two different
pointers (see comment:ticket:14772:50)?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14772#comment:95>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list