Opened 15 years ago
Closed 15 years ago
#12888 closed defect (bug) (fixed)
Use is_super_admin() instead of is_site_admin() in user.php
Reported by: | ocean90 | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Users | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
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.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [14032]) User is_super_admin(). Props ocean90. fixes #12888