Changeset 48618
- Timestamp:
- 07/25/2020 09:30:32 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r48594 r48618 42 42 43 43 $this->modes = array( 44 'list' => __( 'List View' ),45 'grid' => __( 'Grid View' ),44 'list' => __( 'List view' ), 45 'grid' => __( 'Grid view' ), 46 46 ); 47 47 -
trunk/src/wp-includes/media-template.php
r48594 r48618 311 311 <script type="text/html" id="tmpl-media-library-view-switcher"> 312 312 <a href="<?php echo esc_url( add_query_arg( 'mode', 'list', $_SERVER['REQUEST_URI'] ) ); ?>" class="view-list"> 313 <span class="screen-reader-text"><?php _e( 'List View' ); ?></span>313 <span class="screen-reader-text"><?php _e( 'List view' ); ?></span> 314 314 </a> 315 315 <a href="<?php echo esc_url( add_query_arg( 'mode', 'grid', $_SERVER['REQUEST_URI'] ) ); ?>" class="view-grid current" aria-current="page"> 316 <span class="screen-reader-text"><?php _e( 'Grid View' ); ?></span>316 <span class="screen-reader-text"><?php _e( 'Grid view' ); ?></span> 317 317 </a> 318 318 </script>
Note: See TracChangeset
for help on using the changeset viewer.