WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/15/2010 12:21:13 AM (10 years ago)
Author:
wpmuguru
Message:

merge multisite wp-admin/includes except schema, See #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update.php

    r12673 r12726  
    8383
    8484function core_update_footer( $msg = '' ) {
     85    if( is_multisite() && !is_super_admin() )
     86        return false;
     87
    8588    if ( !current_user_can('manage_options') )
    8689        return sprintf( __( 'Version %s' ), $GLOBALS['wp_version'] );
     
    116119
    117120function update_nag() {
     121    if( is_multisite() && !is_super_admin() )
     122        return false;
     123
    118124    global $pagenow;
    119125
     
    137143// Called directly from dashboard
    138144function update_right_now_message() {
     145    if( is_multisite() && !is_super_admin() )
     146        return false;
     147
    139148    $cur = get_preferred_from_update_core();
    140149
     
    197206
    198207function wp_update_plugin($plugin, $feedback = '') {
     208    if( is_multisite() && !is_super_admin() )
     209        return false;
     210
    199211
    200212    if ( !empty($feedback) )
Note: See TracChangeset for help on using the changeset viewer.