Changeset 44451 for trunk/src/wp-admin/upgrade.php
- Timestamp:
- 01/08/2019 03:28:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/upgrade.php
r43571 r44451 81 81 <?php 82 82 elseif ( ! $php_compat || ! $mysql_compat ) : 83 $version_url = sprintf( 84 /* translators: %s: WordPress version */ 85 esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), 86 sanitize_title( $wp_version ) 87 ); 88 83 89 if ( ! $mysql_compat && ! $php_compat ) { 84 printf( __( '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.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); 90 /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Minimum required MySQL version number, 5: Current PHP version number, 6: Current MySQL version number */ 91 $message = sprintf( __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher and MySQL version %4$s or higher. You are running PHP version %5$s and MySQL version %6$s.' ), $version_url, $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ); 85 92 } elseif ( ! $php_compat ) { 86 printf( __( '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.' ), $wp_version, $required_php_version, $php_version ); 93 /* translators: 1: URL to WordPress release notes, 1: WordPress version number, 2: Minimum required PHP version number, 3: Current PHP version number */ 94 $message = sprintf( __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ), $version_url, $wp_version, $required_php_version, $php_version ); 87 95 } elseif ( ! $mysql_compat ) { 88 printf( __( '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.' ), $wp_version, $required_mysql_version, $mysql_version ); 96 /* translators: 1: WordPress version number, 2: Minimum required MySQL version number, 3: Current MySQL version number */ 97 $message = sprintf( __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires MySQL version %3$s or higher. You are running version %4$s.' ), $version_url, $wp_version, $required_mysql_version, $mysql_version ); 89 98 } 90 99 ?>
Note: See TracChangeset
for help on using the changeset viewer.