[wp-trac] [WordPress Trac] #11808: is_super_admin() should try to get missing user_id

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 18:28:10 UTC 2010


#11808: is_super_admin() should try to get missing user_id
-----------------------------+----------------------------------------------
 Reporter:  filosofo         |       Owner:  ryan                      
     Type:  defect (bug)     |      Status:  new                       
 Priority:  normal           |   Milestone:  3.0                       
Component:  Role/Capability  |     Version:  3.0                       
 Severity:  normal           |    Keywords:  has-patch commit multisite
-----------------------------+----------------------------------------------

Comment(by filosofo):

 Changed patch to use ! empty instead of isset since $current_user can get
 set to false instead of being an object.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11808#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list