[wp-trac] [WordPress Trac] #54983: The post has already been deleted.

WordPress Trac noreply at wordpress.org
Sat Jan 29 09:08:53 UTC 2022


#54983: The post has already been deleted.
-------------------------------+------------------------------------------
 Reporter:  sumitsingh         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.9
 Severity:  major              |  Resolution:
 Keywords:  has-screenshots    |     Focuses:  administration, performance
-------------------------------+------------------------------------------

Comment (by costdev):

 @sumitsingh Thanks for posting the steps to reproduce!

 I can confirm that this issue only seems to occur when the post has no
 title and no content.

 This does not occur when using the Classic Editor.
 This still occurs with Gutenberg 12.4.1 activated.

 This was unfortunately not covered for another issue with the "Move to
 trash" button in [GB https://github.com/WordPress/gutenberg/issues/17426]

 @sumitsingh Can you double-check if this issue has been reported in the
 [https://github.com/WordPress/gutenberg/ Gutenberg repo] and if it hasn't,
 please
 [https://github.com/WordPress/gutenberg/issues/new?assignees=&labels=&template=Bug_report.yml
 open a bug report issue] and comment here with a link to the issue?

 ----

 In terms of the `Quick Draft` feature allowing a post with no title or
 content to be created:

 - This was introduced in [https://core.trac.wordpress.org/changeset/47191
 47191].
 - This change wrapped the content in a paragraph block if it didn't
 already contain one.
 - However, it did not confirm that there was any content to begin with.

 I have reopened #48120 to address the regression.

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


More information about the wp-trac mailing list