Changeset 31124
- Timestamp:
- 01/10/2015 05:56:45 AM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r31073 r31124 813 813 // Import $wp_version, $required_php_version, and $required_mysql_version from the new version 814 814 // $wp_filesystem->wp_content_dir() returned unslashed pre-2.8 815 global $wp_version, $required_php_version, $required_mysql_version; 816 815 817 $versions_file = trailingslashit( $wp_filesystem->wp_content_dir() ) . 'upgrade/version-current.php'; 816 818 if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $versions_file ) ) { … … 825 827 $php_version = phpversion(); 826 828 $mysql_version = $wpdb->db_version(); 827 $old_wp_version = $ GLOBALS['wp_version']; // The version of WordPress we're updating from829 $old_wp_version = $wp_version; // The version of WordPress we're updating from 828 830 $development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' ) ); // a dash in the version indicates a Development release 829 831 $php_compat = version_compare( $php_version, $required_php_version, '>=' ); -
trunk/src/wp-admin/install.php
r31090 r31124 159 159 die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="../wp-login.php" class="button button-large">' . __( 'Log In' ) . '</a></p></body></html>' ); 160 160 } 161 162 global $wp_version, $required_php_version, $required_mysql_version; 161 163 162 164 $php_version = phpversion(); -
trunk/src/wp-admin/options-general.php
r31034 r31124 320 320 <td><select name="start_of_week" id="start_of_week"> 321 321 <?php 322 global $wp_locale; 323 322 324 for ($day_index = 0; $day_index <= 6; $day_index++) : 323 325 $selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : ''; -
trunk/src/wp-admin/upgrade.php
r28896 r31124 35 35 die( '0' ); 36 36 } 37 38 global $wp_version, $required_php_version, $required_mysql_version; 37 39 38 40 $step = (int) $step;
Note: See TracChangeset
for help on using the changeset viewer.