[wp-trac] [WordPress Trac] #58479: Add notice if no posts are selected in Bulk Edit

WordPress Trac noreply at wordpress.org
Fri Sep 27 23:03:28 UTC 2024


#58479: Add notice if no posts are selected in Bulk Edit
-------------------------------------+-------------------------------------
 Reporter:  sumitsingh               |       Owner:  joedolson
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.7
Component:  Quick/Bulk Edit          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-         |     Focuses:  accessibility,
  screenshots                        |  javascript, administration
-------------------------------------+-------------------------------------
Changes (by joedolson):

 * keywords:  has-screenshots has-patch => has-patch needs-screenshots


Comment:

 PR makes a few changes to this.

 1) Add `wp-a11y` as a dependency to `common.js` rather than loading it in
 `admin.php`
 2) Abstracts the arguments a bit in `addAdminNotice` to make it more
 flexible.
 3) Unsets the value of `bulkAction` in `updates.js` so that the 'no items
 selected' message will fire instead of the delete or filesystem dialogs.

 Needs updated screenshots to reflect that there's only one notice now &
 it's dismissible.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58479#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list