- Timestamp:
- 07/04/08 15:20:27 (5 months ago)
- Files:
-
- trunk/wp-admin/includes/update.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/includes/update.php
r1328 r1352 54 54 echo "<span id='wp-version-message'>$msg</span>"; 55 55 } 56 */ 56 57 57 58 function wp_update_plugins() { 58 59 global $wp_version; 60 61 if( !is_site_admin() ) 62 return; 59 63 60 64 if ( !function_exists('fsockopen') ) … … 121 125 122 126 function wp_plugin_update_row( $file, $plugin_data ) { 127 if( !is_site_admin() ) 128 return; 129 123 130 $current = get_option( 'update_plugins' ); 124 131 if ( !isset( $current->response[ $file ] ) ) … … 141 148 function wp_update_plugin($plugin, $feedback = '') { 142 149 global $wp_filesystem; 150 if( !is_site_admin() ) 151 return; 143 152 144 153 if ( !empty($feedback) ) … … 253 262 } 254 263 255 */256 264 ?>
