Make WordPress Core

Opened 2 years ago

#55548 new defect (bug)

Unchecked "Uncategorized" checkbox re-checks itself upon publish or update of a post

Reported by: rcwatson's profile rcwatson Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9.3
Component: Editor Keywords: 2nd-opinion
Focuses: ui Cc:

Description

A WordPress-based news website's editorial team has problems with the "Uncategorized" category.

  1. They create a post and check the desired category and uncheck the default "Uncategorized" category.
  2. Then they click "Publish".
  3. At the last second during the Publish operation, the Block Editor unchecks the user-selected category and re-checks "Uncategorized".
  4. Then they have to go back into the post and attempt to uncheck "Uncategorized" and recheck the desired category.

They have to do step 4 three or four times to get the result they want. Or they just use "Quick Edit" to change it in the post list.

It doesn't happen every time and is sometimes difficult to reproduce. But it happens often enough to be a problem. I cannot find a way to consistently reproduce it. Nor can I find any indication that this is a known issue with WordPress. It will happen with or without plugins enabled.

If there's no easy way to investigate or fix this in core, is there a way to add a script somewhere in the theme's functions.php or a jQuery script somewhere to ensure that "Uncategorized" *never* gets checked and that the originally-intended category remains checked? All the searches I do on Google for this topic ironically just reveal a bunch of posts on peoples' blogs that are set to "Uncategorized".

Change History (0)

Note: See TracTickets for help on using tickets.