mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51988 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9007b1dd3a
commit
3e2ec6c215
@ -796,14 +796,17 @@ endif;
|
||||
$application_passwords_list_table->display();
|
||||
?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<p><?php esc_html_e( 'The application password feature requires HTTPS, which is not enabled on this site.' ); ?></p>
|
||||
<p><?php
|
||||
printf(
|
||||
__( '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>
|
||||
<?php else : ?>
|
||||
<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>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user