mirror of
git://develop.git.wordpress.org/
synced 2025-04-08 22:22:03 +02: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. git-svn-id: https://develop.svn.wordpress.org/trunk@51878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
48c68e5dac
commit
f6755ded9f
@ -225,7 +225,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="form-field">
|
||||
<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>
|
||||
|
||||
<?php
|
||||
|
@ -767,7 +767,7 @@ endif;
|
||||
<div class="create-application-password form-wrap">
|
||||
<div class="form-field">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user