Media Library: Add a label for attachment type select in list mode.
props afercia. fixes #31795. Built from https://develop.svn.wordpress.org/trunk@31942 git-svn-id: http://core.svn.wordpress.org/trunk@31921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
36643388ef
commit
5fae37471a
|
@ -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 ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta3-31941';
|
$wp_version = '4.2-beta3-31942';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue