Ticket #5037: update_checks.diff
File update_checks.diff, 1.0 KB (added by , 17 years ago) |
---|
-
wp-admin/includes/update.php
42 42 43 43 function wp_update_plugins() { 44 44 global $wp_version; 45 46 if ( !function_exists('fsockopen') ) 47 return ; 48 45 49 $plugins = get_plugins(); 46 50 $active = get_option( 'active_plugins' ); 47 51 $current = get_option( 'update_plugins' ); -
wp-includes/update.php
2 2 3 3 // A simple set of functions to check our version 1.0 update service 4 4 5 function wp_version_check() { 6 if ( strpos($_SERVER['PHP_SELF'], 'install.php') !== false || defined('WP_INSTALLING') )5 function wp_version_check() { 6 if ( !is_admin() || !function_exists('fsockopen') || strpos($_SERVER['PHP_SELF'], 'install.php') !== false || defined('WP_INSTALLING') ) 7 7 return; 8 8 9 9 global $wp_version;