wip
This commit is contained in:
+5
-13
@@ -16,7 +16,6 @@ if ( false ) {
|
||||
<title>Error: PHP is not running</title>
|
||||
</head>
|
||||
<body class="wp-core-ui">
|
||||
<p id="logo"><a href="https://wordpress.org/">WordPress</a></p>
|
||||
<h1>Error: PHP is not running</h1>
|
||||
<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
|
||||
</body>
|
||||
@@ -180,19 +179,12 @@ function display_setup_form( $error = null ) {
|
||||
<td><input name="admin_email" type="email" id="admin_email" size="25" aria-describedby="admin-email-desc" value="<?php echo esc_attr( $admin_email ); ?>" />
|
||||
<p id="admin-email-desc"><?php _e( 'Double-check your email address before continuing.' ); ?></p></td>
|
||||
</tr>
|
||||
<?php $blog_privacy_selector_title = has_action( 'blog_privacy_selector' ) ? __( 'Site visibility' ) : __( 'Search engine visibility' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?></th>
|
||||
<th scope="row"><?php echo $blog_privacy_selector_title; ?></th>
|
||||
<td>
|
||||
<fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
has_action( 'blog_privacy_selector' )
|
||||
/* translators: Hidden accessibility text. */
|
||||
? _e( 'Site visibility' )
|
||||
/* translators: Hidden accessibility text. */
|
||||
: _e( 'Search engine visibility' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $blog_privacy_selector_title; ?></span></legend>
|
||||
<?php
|
||||
if ( has_action( 'blog_privacy_selector' ) ) {
|
||||
?>
|
||||
@@ -233,9 +225,9 @@ if ( is_blog_installed() ) {
|
||||
|
||||
/**
|
||||
* @global string $wp_version The WordPress version string.
|
||||
* @global string $required_php_version The required PHP version string.
|
||||
* @global string $required_php_version The minimum required PHP version string.
|
||||
* @global string[] $required_php_extensions The names of required PHP extensions.
|
||||
* @global string $required_mysql_version The required MySQL version string.
|
||||
* @global string $required_mysql_version The minimum required MySQL version string.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
global $wp_version, $required_php_version, $required_php_extensions, $required_mysql_version, $wpdb;
|
||||
|
||||
Reference in New Issue
Block a user