Make WordPress Core

Ticket #4772: update.php.diff

File update.php.diff, 618 bytes (added by Potter_System, 17 years ago)

Patch for wp-includes/update.php

  • wp-includes/update.php

     
    44
    55function wp_version_check() {
    66        global $wp_version;
    7         $php_version = phpversion();
     7    if(!WP_INSTALLING):
     8    $php_version = phpversion();
    89       
    910        $current = get_option( 'update_core' );
    1011        $locale = get_locale();
     
    4445                        $new_option->url = $returns[1];
    4546        }
    4647        update_option( 'update_core', $new_option );
     48
     49endif;
    4750}
    4851
    4952add_action( 'init', 'wp_version_check' );
    5053
    51 ?>
    52  No newline at end of file
     54?>