Title: [Plugin: NextGen Gallery 1.5.5] [BUG] deprecated is_site_admin function
Last modified: August 19, 2016

---

# [Plugin: NextGen Gallery 1.5.5] [BUG] deprecated is_site_admin function

 *  [gazouteast](https://wordpress.org/support/users/gazouteast/)
 * (@gazouteast)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-155-bug-deprecated-is_site_admin-function/)
 * NextGen Gallery v1.5.5 contains three instances of the deprecated function is_site_admin(),
   which are reported when using WP_DEBUG = true in wp-config.php
 * is_site_admin was deprecated in WP 3.0 and replaced with is_super_admin
 * nextgen-gallery/admin/admin.php
    change is_site_admin to is_super_admin (2 instances)
 *     ```
       function wpmu_site_admin() {
       	// Check for site admin
       	if ( function_exists('is_site_admin') )
       		if ( is_site_admin() )
       			return true;
   
       	return false;
       }
       ```
   
 * nextgen-gallery/admin/wpmu.php
    change is_site_admin to is_super_admin (1 instance)
 *     ```
       //to be sure
       	if (!is_site_admin())
       ```
   
 * It’s possible but not sure these are also responsible for a “headers already 
   sent error” occurring at the same time after uploadng an image and using its 
   URL as the image location for a sidebar widget blogroll image …. still testing
   that one.

Viewing 1 replies (of 1 total)

 *  Thread Starter [gazouteast](https://wordpress.org/support/users/gazouteast/)
 * (@gazouteast)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-155-bug-deprecated-is_site_admin-function/#post-1614286)
 * Yup – that fixed both errors – the deprecated function one and the headers already
   sent one.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: NextGen Gallery 1.5.5] [BUG] deprecated is_site_admin function’
is closed to new replies.

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [WP 3.0.1](https://wordpress.org/support/topic-tag/wp-3-0-1/)

 * 1 reply
 * 1 participant
 * Last reply from: [gazouteast](https://wordpress.org/support/users/gazouteast/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-155-bug-deprecated-is_site_admin-function/#post-1614286)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
