mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
Do not run bulk edit when the user clicks on a filter, fixes #17733
git-svn-id: https://develop.svn.wordpress.org/trunk@18222 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -288,8 +288,13 @@ class WP_List_Table {
|
||||
|
||||
echo "<select name='action$two'>\n";
|
||||
echo "<option value='-1' selected='selected'>" . __( 'Bulk Actions' ) . "</option>\n";
|
||||
foreach ( $this->_actions as $name => $title )
|
||||
echo "\t<option value='$name'>$title</option>\n";
|
||||
|
||||
foreach ( $this->_actions as $name => $title ) {
|
||||
$class = 'edit' == $name ? ' class="hide-if-no-js"' : '';
|
||||
|
||||
echo "\t<option value='$name'$class>$title</option>\n";
|
||||
}
|
||||
|
||||
echo "</select>\n";
|
||||
|
||||
submit_button( __( 'Apply' ), 'button-secondary action', false, false, array( 'id' => "doaction$two" ) );
|
||||
|
||||
Reference in New Issue
Block a user