Changeset 49549 for trunk/src/wp-admin/authorize-application.php
- Timestamp:
- 11/09/2020 06:03:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/authorize-application.php
r49294 r49549 172 172 <div class="notice notice-success notice-alt below-h2"> 173 173 <p class="application-password-display"> 174 <?php 175 printf( 176 /* translators: 1: Application name, 2: Generated password. */ 177 __( 'Your new password for %1$s is %2$s.' ), 178 '<strong>' . esc_html( $app_name ) . '</strong>', 179 sprintf( '<input type="text" class="code" readonly="readonly" value="%s" />', esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ) ) 180 ); 181 ?> 182 </p> 174 <label for="new-application-password-value"> 175 <?php 176 printf( 177 /* translators: %s: Application name */ 178 esc_html__( 'Your new password for %s is:' ), 179 '<strong>' . esc_html( $app_name ) . '</strong>' 180 ); 181 ?> 182 </label> 183 <input id="new-application-password-value" type="text" class="code" readonly="readonly" value="<?php esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ); ?>" /> 184 </p> 185 <p><?php _e( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ); ?></p> 183 186 </div> 184 187 … … 205 208 <div class="form-field"> 206 209 <label for="app_name"><?php _e( 'New Application Password Name' ); ?></label> 207 <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 aria-required="true"/>210 <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 /> 208 211 </div> 209 212
Note: See TracChangeset
for help on using the changeset viewer.