Changeset 60786
- Timestamp:
- 09/19/2025 08:52:52 PM (15 hours ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r60681 r60786 656 656 657 657 printf( 658 '<button type="button"%s class="button insert-media add_media" data-editor="%s" >%s</button>',658 '<button type="button"%s class="button insert-media add_media" data-editor="%s" aria-haspopup="dialog" aria-controls="wp-media-modal">%s</button>', 659 659 $id_attribute, 660 660 esc_attr( $editor_id ), -
trunk/src/wp-includes/media-template.php
r60266 r60786 196 196 <?php // Template for the media modal. ?> 197 197 <script type="text/html" id="tmpl-media-modal"> 198 <div tabindex="0" class="<?php echo $class; ?>" role="dialog" aria-labelledby="media-frame-title">198 <div id="wp-media-modal" tabindex="0" class="<?php echo $class; ?>" role="dialog" aria-labelledby="media-frame-title"> 199 199 <# if ( data.hasCloseButton ) { #> 200 200 <button type="button" class="media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text">
Note: See TracChangeset
for help on using the changeset viewer.