Make WordPress Core

Opened 6 months ago

Closed 4 months ago

#61914 closed defect (bug) (reported-upstream)

prepublish panel not appearing when we select custom post status

Reported by: yogeshdalavi's profile yogeshdalavi Owned by:
Milestone: Priority: normal
Severity: critical Version: 6.6
Component: Editor Keywords:
Focuses: Cc:

Description (last modified by afercia)

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.

Attachments (1)

WP videos Preprublish modal.zip (9.4 MB) - added by yogeshdalavi 6 months ago.
Pre-publish Modal Behavior in WP 6.4 and WP 6.6 with Custom Post Status

Change History (3)

@yogeshdalavi
6 months ago

Pre-publish Modal Behavior in WP 6.4 and WP 6.6 with Custom Post Status

#1 @afercia
4 months ago

  • Component changed from Posts, Post Types to Editor
  • Description modified (diff)
  • Focuses administration removed
  • Summary changed from prepublish modal not appearing when we select custom post status to prepublish panel not appearing when we select custom post status

#2 @afercia
4 months ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

@yogeshdalavi thanks for your report.
Looking into this during today's Yoast contributor day.
Given this issue relates to the block editor, I moved it to the Gutenberg GitHub repository at https://github.com/WordPress/gutenberg/issues/66199
Please do feel free to join the conversation on GitHub, thanks,

Note: See TracTickets for help on using tickets.