Media Library: Add a label for attachment type select in list mode.
props afercia. fixes #31795. git-svn-id: https://develop.svn.wordpress.org/trunk@31942 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0d55562fd7
commit
dcc75b1202
|
@ -168,7 +168,8 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||||
<div class="filter-items">
|
<div class="filter-items">
|
||||||
<?php $this->view_switcher( $mode ); ?>
|
<?php $this->view_switcher( $mode ); ?>
|
||||||
|
|
||||||
<select class="attachment-filters" name="attachment-filter">
|
<label for="attachment-filter" class="screen-reader-text"><?php _e( 'Filter by type' ); ?></label>
|
||||||
|
<select class="attachment-filters" name="attachment-filter" id="attachment-filter">
|
||||||
<?php
|
<?php
|
||||||
if ( ! empty( $views ) ) {
|
if ( ! empty( $views ) ) {
|
||||||
foreach ( $views as $class => $view ) {
|
foreach ( $views as $class => $view ) {
|
||||||
|
|
Loading…
Reference in New Issue