[wp-trac] [WordPress Trac] #61914: prepublish panel not appearing when we select custom post status (was: prepublish modal not appearing when we select custom post status)

WordPress Trac noreply at wordpress.org
Thu Oct 17 08:57:08 UTC 2024


#61914: prepublish panel not appearing when we select custom post status
--------------------------+------------------------------
 Reporter:  yogeshdalavi  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  6.6
 Severity:  critical      |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by afercia):

 * focuses:  administration =>
 * component:  Posts, Post Types => Editor


Old description:

> 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.

New description:

 I'm facing a problem with the pre-publish panel's behavior when a custom
 post status is selected in WordPress 6.6.

 I have tested the pre-publish panel 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 panel 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 panel 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 panel does not appear on
 the initial "Publish" button click after selecting a custom post status.

 **Expected Behavior:** The pre-publish panel should appear on the initial
 "Publish" button click, even after selecting a custom post status.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61914#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list