Changeset 12726 for trunk/wp-admin/includes/update.php
- Timestamp:
- 01/15/2010 12:21:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update.php
r12673 r12726 83 83 84 84 function core_update_footer( $msg = '' ) { 85 if( is_multisite() && !is_super_admin() ) 86 return false; 87 85 88 if ( !current_user_can('manage_options') ) 86 89 return sprintf( __( 'Version %s' ), $GLOBALS['wp_version'] ); … … 116 119 117 120 function update_nag() { 121 if( is_multisite() && !is_super_admin() ) 122 return false; 123 118 124 global $pagenow; 119 125 … … 137 143 // Called directly from dashboard 138 144 function update_right_now_message() { 145 if( is_multisite() && !is_super_admin() ) 146 return false; 147 139 148 $cur = get_preferred_from_update_core(); 140 149 … … 197 206 198 207 function wp_update_plugin($plugin, $feedback = '') { 208 if( is_multisite() && !is_super_admin() ) 209 return false; 210 199 211 200 212 if ( !empty($feedback) )
Note: See TracChangeset
for help on using the changeset viewer.