[wp-trac] [WordPress Trac] #61914: prepublish modal not appearing when we select custom post status
WordPress Trac
noreply at wordpress.org
Fri Aug 23 06:37:22 UTC 2024
#61914: prepublish modal not appearing when we select custom post status
-------------------------------+-----------------------------
Reporter: yogeshdalavi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.6
Severity: critical | Keywords: needs-patch
Focuses: administration |
-------------------------------+-----------------------------
I'm facing a problem with the pre-publish modal's behavior when a custom
post status is selected in WordPress 6.6.
I have tested the pre-publish modal behavior on two different WordPress
versions using the Playground(https://wordpress.org/playground/). In WP
6.4, when creating a new post and selecting a custom post status (e.g.,
"Ready for Publish"), the pre-publish modal appears as expected. However,
in WP 6.6, following the same steps, the custom status is set in the
backend, but WordPress core treats it as a draft, and the post is not
published. At this point, I have to click the "Publish" button again for
the pre-publish modal to appear. This change has altered the previous
post-publish behavior.
Please refer to the screenshots for more details:
WordPress 6.4: https://we.tl/t-ho4nMzZg7S
WordPress 6.6: https://we.tl/t-pZ0yXxtUaB
In summary, the issue is:
**Actual Behavior in WP 6.6:** The pre-publish modal does not appear on
the initial "Publish" button click after selecting a custom post status.
**Expected Behavior:** The pre-publish modal should appear on the initial
"Publish" button click, even after selecting a custom post status.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61914>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list