Changeset 56602
- Timestamp:
- 09/17/2023 10:49:06 PM (12 months ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/application-passwords.js
r51086 r56602 61 61 password: response.password 62 62 } ) ); 63 $( '.new-application-password-notice' ). trigger( 'focus' );63 $( '.new-application-password-notice' ).attr( 'tabindex', '-1' ).trigger( 'focus' ); 64 64 65 65 $appPassTbody.prepend( tmplAppPassRow( response ) ); -
trunk/src/js/_enqueues/lib/image-edit.js
r56591 r56602 859 859 } 860 860 861 elementToSetFocusTo. trigger( 'focus' );861 elementToSetFocusTo.attr( 'tabindex', '-1' ).trigger( 'focus' ); 862 862 }, 100 ); 863 863 }, -
trunk/src/wp-admin/includes/image-edit.php
r56549 r56602 40 40 if ( $msg ) { 41 41 if ( isset( $msg->error ) ) { 42 $note = "<div class='notice notice-error' tabindex='-1'role='alert'><p>$msg->error</p></div>";42 $note = "<div class='notice notice-error' role='alert'><p>$msg->error</p></div>"; 43 43 } elseif ( isset( $msg->msg ) ) { 44 $note = "<div class='notice notice-success' tabindex='-1'role='alert'><p>$msg->msg</p></div>";44 $note = "<div class='notice notice-success' role='alert'><p>$msg->msg</p></div>"; 45 45 } 46 46 } -
trunk/src/wp-admin/user-edit.php
r56600 r56602 966 966 <?php if ( isset( $application_passwords_list_table ) ) : ?> 967 967 <script type="text/html" id="tmpl-new-application-password"> 968 <div class="notice notice-success is-dismissible new-application-password-notice" role="alert" tabindex="-1">968 <div class="notice notice-success is-dismissible new-application-password-notice" role="alert"> 969 969 <p class="application-password-display"> 970 970 <label for="new-application-password-value">
Note: See TracChangeset
for help on using the changeset viewer.