[wp-trac] [WordPress Trac] #12888: Use is_super_admin() instead of is_site_admin() in user.php

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 09:29:24 UTC 2010


#12888: Use is_super_admin() instead of is_site_admin() in user.php
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:                      
     Type:  defect (bug)  |      Status:  new                 
 Priority:  normal        |   Milestone:  3.0                 
Component:  Users         |     Version:  3.0                 
 Severity:  normal        |    Keywords:  multisite, has-patch
--------------------------+-------------------------------------------------
 If you want to edit a user:
 {{{
 Notice: is_site_admin is deprecated since version 3.0! Use
 is_super_admin() instead.

 Notice: get_current_user_id is deprecated since version 3.0! Use
 $GLOBALS'current_user']->ID instead.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12888>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list