mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
App Passwords: Remove placeholder from the app password name input field.
In [49294, 49752], the `placeholder` attribute changed to `"WordPress App on My Phone"`. This change causes confusion as the field can be used in a variety of ways and is not limited to a phone. Given a label exists for each field and clearly identifies its purpose, this commit removes the `placeholder` attribute from the `input` field. Follow-up to [49109], [49294], [49752]. Props seedsca, audrasjb, joedolson, rehanali. Fixes #54047. Built from https://develop.svn.wordpress.org/trunk@51878 git-svn-id: http://core.svn.wordpress.org/trunk@51471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1cad6cfc26
commit
bc217668e2
@ -225,7 +225,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
|||||||
|
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label for="app_name"><?php _e( 'New Application Password Name' ); ?></label>
|
<label for="app_name"><?php _e( 'New Application Password Name' ); ?></label>
|
||||||
<input type="text" id="app_name" name="app_name" value="<?php echo esc_attr( $app_name ); ?>" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" required />
|
<input type="text" id="app_name" name="app_name" value="<?php echo esc_attr( $app_name ); ?>" required />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -767,7 +767,7 @@ endif;
|
|||||||
<div class="create-application-password form-wrap">
|
<div class="create-application-password form-wrap">
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
|
<label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
|
||||||
<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
|
<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
|
||||||
<p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
|
<p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-51877';
|
$wp_version = '5.9-alpha-51878';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user