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

git-svn-id: https://develop.svn.wordpress.org/trunk@17349 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-01-22 18:25:32 +00:00
parent 9ab413e3fc
commit a399fa0529
4 changed files with 4 additions and 4 deletions
@@ -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 ) ) {