WordPress.org

Make WordPress Core

Ticket #15546: 15546.diff

File 15546.diff, 779 bytes (added by nacin, 5 years ago)
  • wp-admin/includes/update.php

     
    8282} 
    8383 
    8484function core_update_footer( $msg = '' ) { 
    85         if ( is_multisite() && !current_user_can('update_core') ) 
    86                 return false; 
    87  
    8885        if ( !current_user_can('update_core') ) 
    8986                return sprintf( __( 'Version %s' ), $GLOBALS['wp_version'] ); 
    9087 
     
    140137 
    141138// Called directly from dashboard 
    142139function update_right_now_message() { 
    143         if ( is_multisite() && !current_user_can('update_core') ) 
    144                 return false; 
    145  
    146140        $cur = get_preferred_from_update_core(); 
    147141 
    148142        $msg = sprintf( __('You are using <span class="b">WordPress %s</span>.'), $GLOBALS['wp_version'] );