Ticket #4772: update.php.diff
File update.php.diff, 618 bytes (added by , 17 years ago) |
---|
-
wp-includes/update.php
4 4 5 5 function wp_version_check() { 6 6 global $wp_version; 7 $php_version = phpversion(); 7 if(!WP_INSTALLING): 8 $php_version = phpversion(); 8 9 9 10 $current = get_option( 'update_core' ); 10 11 $locale = get_locale(); … … 44 45 $new_option->url = $returns[1]; 45 46 } 46 47 update_option( 'update_core', $new_option ); 48 49 endif; 47 50 } 48 51 49 52 add_action( 'init', 'wp_version_check' ); 50 53 51 ?> 52 No newline at end of file 54 ?>