Ticket #28555: 28555.2.diff
File 28555.2.diff, 3.1 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/class-wp-posts-list-table.php
233 233 */ 234 234 do_action( 'restrict_manage_posts' ); 235 235 236 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );236 submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 237 237 } 238 238 239 239 if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) ) { -
wp-admin/includes/class-wp-media-list-table.php
94 94 95 95 /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ 96 96 do_action( 'restrict_manage_posts' ); 97 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );97 submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 98 98 } 99 99 100 100 if ( $this->detached ) { -
wp-admin/includes/class-wp-links-list-table.php
69 69 'orderby' => 'name', 70 70 ); 71 71 wp_dropdown_categories( $dropdown_options ); 72 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );72 submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 73 73 ?> 74 74 </div> 75 75 <?php -
wp-admin/includes/class-wp-comments-list-table.php
258 258 * @since 3.5.0 259 259 */ 260 260 do_action( 'restrict_manage_comments' ); 261 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) );261 submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 262 262 } 263 263 264 264 if ( ( 'spam' == $comment_status || 'trash' == $comment_status ) && current_user_can( 'moderate_comments' ) ) { -
wp-admin/includes/class-wp-list-table.php
384 384 * @return string|bool The action name or False if no action was selected 385 385 */ 386 386 public function current_action() { 387 if ( isset( $_REQUEST['filter_action'] ) && ! empty( $_REQUEST['filter_action'] ) ) 388 return false; 389 387 390 if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) 388 391 return $_REQUEST['action']; 389 392