[wp-trac] [WordPress Trac] #63453: Inconsistent confirmation for deleting taxonomy term (Single vs Bulk Action)
WordPress Trac
noreply at wordpress.org
Fri May 16 08:11:46 UTC 2025
#63453: Inconsistent confirmation for deleting taxonomy term (Single vs Bulk
Action)
--------------------------------------------+-----------------------------
Reporter: pmbaldha | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: ui, javascript, administration |
--------------------------------------------+-----------------------------
There is an inconsistency in the behavior of taxonomy term deletion in the
WordPress admin.
When deleting a single taxonomy term (e.g., a category) from the Posts >
Categories screen, WordPress displays a JavaScript confirmation prompt.
However, when deleting multiple categories via the Bulk Actions dropdown,
no confirmation is shown, the categories are deleted immediately.
This inconsistent behavior can lead to accidental, permanent deletion of
terms. The confirmation behavior should be consistent across both single
and bulk deletion actions.
=== Steps to Reproduce
1. Navigate to Posts > Categories in the WordPress admin.
2. Add a few categories.
3. Click the Delete link for an individual category.
- ✅ A confirmation dialog appears.
4. Now, select multiple categories using checkboxes.
5. Choose Delete from the Bulk actions dropdown and click Apply.
- ❌ Categories are deleted immediately, with no confirmation.
=== Expected Behavior ===
When performing a bulk delete, WordPress should prompt a confirmation
dialog, just like it does for single deletion.
=== Actual Behavior ===
Bulk deletion deletes the selected categories immediately, without any
prompt.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63453>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list