Use only an ID, no name, on the 'Filter' buttons on list screens. see #16345.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-01-22 18:25:32 +00:00
parent a0b442ede7
commit 19efd03fe8
4 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ class WP_Comments_List_Table extends WP_List_Table {
?>
</select>
<?php
submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false );
submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
}
if ( ( 'spam' == $comment_status || 'trash' == $comment_status ) && current_user_can( 'moderate_comments' ) ) {

View File

@ -68,7 +68,7 @@ class WP_Links_List_Table extends WP_List_Table {
'orderby' => 'name',
);
wp_dropdown_categories( $dropdown_options );
submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false );
submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
?>
</div>
<?php

View File

@ -93,7 +93,7 @@ class WP_Media_List_Table extends WP_List_Table {
$this->months_dropdown( $post_type );
do_action( 'restrict_manage_posts' );
submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false );
submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
}
if ( $this->detached ) {

View File

@ -222,7 +222,7 @@ class WP_Posts_List_Table extends WP_List_Table {
wp_dropdown_categories( $dropdown_options );
}
do_action( 'restrict_manage_posts' );
submit_button( __( 'Filter' ), 'secondary', 'post-query-submit', false );
submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) );
}
if ( $this->is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) {