[wp-trac] [WordPress Trac] #63005: Replacing certain bulk-edit fields blocks all bulk edits

WordPress Trac noreply at wordpress.org
Mon Feb 24 05:32:24 UTC 2025


#63005: Replacing certain bulk-edit fields blocks all bulk edits
----------------------------+-----------------------------------------
 Reporter:  ethitter        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, administration
----------------------------+-----------------------------------------
Changes (by kabir93):

 * Attachment "63005.alternative.diff" added.

 Attached `63005.alternative.diff` as an alternative approach. This patch:
 - Adds a filterable `bulk_edit_input_name` in `WP_Users_List_Table` with a
 context parameter for flexibility. - Localizes the input name to
 `BulkEditSettings` in `user.js`, keeping the solution specific to the
 Users screen. - Avoids modifying `common.js`, reducing the risk of side
 effects on other list tables.  Compared to `63005.diff`, this offers a
 more targeted fix, simpler maintenance, and a reusable filter design. It
 assumes a follow-up change in `user.js` to use
 `BulkEditSettings.inputName` (not included here but can be provided).
 Feedback welcome!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63005>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list