Make WordPress Core


Ignore:
Timestamp:
09/30/2024 06:22:36 PM (4 months ago)
Author:
joedolson
Message:

Quick/Bulk Edit: Add notice if no items selected.

Add an error notice if a user attempts to apply bulk edits with no items selected. Applies to post lists, comments, taxonomies, and plugins screens.

Props garrett-eclipse, nrqsnchz, sumitsingh, nihar007, royho, sabernhardt, oglekler, quadthemes, ankit-k-gupta, fnpen, ukdrahul, joedolson.
Fixes #45006, #58479.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r58745 r59134  
    626626        echo "</select>\n";
    627627
    628         submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => "doaction$two" ) );
     628        submit_button( __( 'Apply' ), 'action', 'bulk_action', false, array( 'id' => "doaction$two" ) );
    629629        echo "\n";
    630630    }
Note: See TracChangeset for help on using the changeset viewer.