Opened 5 years ago
Last modified 4 years ago
#50843 new defect (bug)
Default category for custom posts when post_content is empty
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
If you enter only the post_content and save, or enter the post_title and post_content and save, the default category is selected and it works as intended.
But when I type in only the post_title and save it, no categories appear to be selected.
Upon investigating the reason, if no post_content is entered, the post_status value will be "auto_draft" and as a result the default category will not be applied.
Is the above as expected?
WordPress: 5.5-RC1-48708
Note: See
TracTickets for help on using
tickets.
This wasn't accurate.
There was a problem when the [Publish] button was clicked without entering the title and moving the "focus" to other places even once.