Coding Standards: Fix some WPCS errors and warnings in `wp-admin/user-edit.php`:

* Add missing translators comment.
* Add missing space, correct indentation.
* Put opening and closing PHP tag on a line by itself.
* Remove unnecessary escaping for consistency with other strings.

Follow-up to [51980].

See #53658.
Built from https://develop.svn.wordpress.org/trunk@51988


git-svn-id: http://core.svn.wordpress.org/trunk@51577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-11-02 20:19:59 +00:00
parent 88e9e36233
commit 1fdea15a96
2 changed files with 12 additions and 9 deletions

View File

@ -797,13 +797,16 @@ endif;
?>
</div>
<?php else : ?>
<p><?php esc_html_e( 'The application password feature requires HTTPS, which is not enabled on this site.' ); ?></p>
<p><?php
<p><?php _e( 'The application password feature requires HTTPS, which is not enabled on this site.' ); ?></p>
<p>
<?php
printf(
/* translators: %s: Documentation URL. */
__( 'If this is a development website you can <a href="%s" target="_blank">set the environment type accordingly</a> to enable application passwords.' ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/#wp_environment_type' )
);
?></p>
?>
</p>
<?php endif; ?>
</div>

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51985';
$wp_version = '5.9-alpha-51988';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.