[wp-trac] [WordPress Trac] #58479: Add notice if no posts are selected in Bulk Edit
WordPress Trac
noreply at wordpress.org
Sun Sep 29 03:02:24 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
-------------------------------------+-------------------------------------
Comment (by joedolson):
So, I was looking into the potential changes for extending
`addAdminNotice()` to be globally usable pass
`wp.updates.addAdminNotice()` into it, but that's really a much more
complex change than feels appropriate for this ticket.
I'm going to open a new ticket to do that. I think it's worthwhile, but I
don't think there's anything about this current patch that would create a
future blocker.
I noticed that this patch is mostly OK, but doesn't fire on the 'Edit'
bulk action in posts lists. Looks like it's overridden by the onclick
event in `inline-edit-post.js` that's fired on `#doaction`, so that'll
need to be exited if there are no selections.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58479#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list