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:
Sergey Biryukov 2015-03-31 19:57:26 +00:00
parent 36643388ef
commit 5fae37471a
2 changed files with 3 additions and 2 deletions

View File

@ -168,7 +168,8 @@ class WP_Media_List_Table extends WP_List_Table {
<div class="filter-items">
<?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
if ( ! empty( $views ) ) {
foreach ( $views as $class => $view ) {

View File

@ -4,7 +4,7 @@
*
* @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.