Changeset 39323 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 11/21/2016 01:21:01 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r38827 r39323 69 69 70 70 if ( !$mysql_compat && !$php_compat ) 71 /* translators: 1: WordPress version number, 2: Minimum required PHP version number, 3: Minimum required MySQL version number, 4: Current PHP version number, 5: Current MySQL version number */ 71 72 $message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version ); 72 73 elseif ( !$php_compat ) 74 /* translators: 1: WordPress version number, 2: Minimum required PHP version number, 3: Current PHP version number */ 73 75 $message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version ); 74 76 elseif ( !$mysql_compat ) 77 /* translators: 1: WordPress version number, 2: Minimum required MySQL version number, 3: Current MySQL version number */ 75 78 $message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.'), $update->current, $update->mysql_version, $mysql_version ); 76 79 else 80 /* translators: 1: WordPress version number, 2: WordPress version number including locale if necessary */ 77 81 $message = sprintf(__('You can update to <a href="https://codex.wordpress.org/Version_%1$s">WordPress %2$s</a> automatically:'), $update->current, $version_string); 78 82 if ( !$mysql_compat || !$php_compat ) … … 659 663 wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); 660 664 665 // @TODO 666 661 667 check_admin_referer('upgrade-core'); 662 668
Note: See TracChangeset
for help on using the changeset viewer.