Make WordPress Core

Ticket #54047: 54047.diff

File 54047.diff, 1.8 KB (added by audrasjb, 3 years ago)

Application Passwords: Use a more generic placeholder for the application password name field

  • src/wp-admin/authorize-application.php

    diff --git a/src/wp-admin/authorize-application.php b/src/wp-admin/authorize-application.php
    index 1d56b47e7d..ac8dfa399d 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    225225
    226226                                <div class="form-field">
    227227                                        <label for="app_name"><?php _e( 'New Application Password Name' ); ?></label>
    228                                         <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 />
     228                                        <input type="text" id="app_name" name="app_name" value="<?php echo esc_attr( $app_name ); ?>" placeholder="<?php esc_attr_e( 'My WordPress App' ); ?>" required />
    229229                                </div>
    230230
    231231                                <?php
  • src/wp-admin/user-edit.php

    diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
    index 0cd381caf2..b961fb6e99 100644
    a b endif; 
    767767                        <div class="create-application-password form-wrap">
    768768                                <div class="form-field">
    769769                                        <label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
    770                                         <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" />
     770                                        <input type="text" size="30" id="new_application_password_name" name="new_application_password_name" placeholder="<?php esc_attr_e( 'My WordPress App' ); ?>" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
    771771                                        <p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
    772772                                </div>
    773773