Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/14/2011 11:49:17 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Switch verbiage from 'upgrade' to 'update' and adjust is_multisite() admin_menu/network_admin_menu action checks. Also rename bp-core-upgrade.php to bp-core-update.php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-cssjs.php

    r3709 r3713  
    88    }
    99}
    10 is_multisite() ? add_action( 'network_admin_menu', 'xprofile_add_admin_css' ) : add_action( 'admin_menu', 'xprofile_add_admin_css' );
     10add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_css' );
    1111
    1212function xprofile_add_admin_js() {
     
    2525    }
    2626}
    27 is_multisite() ? add_action( 'network_admin_menu', 'xprofile_add_admin_js' ) : add_action( 'admin_menu', 'xprofile_add_admin_js', 1 );
     27add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_js', 1 );
    2828?>
Note: See TracChangeset for help on using the changeset viewer.