WordPress.org

Ready to get started?Download WordPress

Forums

Admin Menu Editor
PATCH: is_site_admin() deprecated (1 post)

  1. earcanal
    Member
    Posted 3 years ago #

    Symptom: Menu editor doesn't appear in Settings menu.

    diff menu-editor-core.php.orig menu-editor-core.php
    119,120c119,120
    < error_log('is_site_admin: '. is_site_admin());
    < if ( !$this->is_mu_plugin || ( function_exists('is_site_admin') && is_site_admin() ) ){
    ---
    > error_log('is_super_admin: '. is_super_admin());
    > if ( !$this->is_mu_plugin || ( function_exists('is_super_admin') && is_super_admin() ) ){

    http://codex.wordpress.org/WPMU_Functions/is_site_admin

    http://wordpress.org/extend/plugins/admin-menu-editor/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic