Changeset 48172 for trunk/src/wp-admin/install.php
- Timestamp:
- 06/26/2020 12:25:15 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r48126 r48172 241 241 242 242 /* translators: %s: URL to Update PHP page. */ 243 $php_update_message = '</p><p>' . sprintf( __( '<a href="%s">Learn more about updating PHP</a>.' ), esc_url( wp_get_update_php_url() ) ); 243 $php_update_message = '</p><p>' . sprintf( 244 __( '<a href="%s">Learn more about updating PHP</a>.' ), 245 esc_url( wp_get_update_php_url() ) 246 ); 244 247 245 248 $annotation = wp_get_update_php_annotation(); 249 246 250 if ( $annotation ) { 247 251 $php_update_message .= '</p><p><em>' . $annotation . '</em>'; … … 249 253 250 254 if ( ! $mysql_compat && ! $php_compat ) { 251 /* 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. */ 252 $compat = sprintf( __( 'You cannot install 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 ) . $php_update_message; 255 $compat = sprintf( 256 /* 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. */ 257 __( 'You cannot install 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.' ), 258 $version_url, 259 $wp_version, 260 $required_php_version, 261 $required_mysql_version, 262 $php_version, 263 $mysql_version 264 ) . $php_update_message; 253 265 } elseif ( ! $php_compat ) { 254 /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Current PHP version number. */ 255 $compat = sprintf( __( 'You cannot install 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 ) . $php_update_message; 266 $compat = sprintf( 267 /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Current PHP version number. */ 268 __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ), 269 $version_url, 270 $wp_version, 271 $required_php_version, 272 $php_version 273 ) . $php_update_message; 256 274 } elseif ( ! $mysql_compat ) { 257 /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required MySQL version number, 4: Current MySQL version number. */ 258 $compat = sprintf( __( 'You cannot install 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 ); 275 $compat = sprintf( 276 /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required MySQL version number, 4: Current MySQL version number. */ 277 __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires MySQL version %3$s or higher. You are running version %4$s.' ), 278 $version_url, 279 $wp_version, 280 $required_mysql_version, 281 $mysql_version 282 ); 259 283 } 260 284
Note: See TracChangeset
for help on using the changeset viewer.