[wp-trac] [WordPress Trac] #11207: WordPress may display incorrect message when post is saved/published/etc

WordPress Trac noreply at wordpress.org
Tue Jul 19 15:17:29 UTC 2022

#11207: WordPress may display incorrect message when post is saved/published/etc
 Reporter:  sirzooro                             |       Owner:  bsamrajni
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:  2.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh good-first-  |     Focuses:
  bug changes-requested                          |  administration
Changes (by desrosj):

 * keywords:  has-patch needs-refresh => has-patch needs-refresh good-first-
     bug changes-requested
 * milestone:   => Future Release


 I found this ticket going through a list of ones missing a milestone. A
 lot has changed since this was created, so I've done some testing to
 figure out the current state of this bug.

 With the block editor, this problem does not exist. When the response to a
 save request is received, the editor displays the correct message and
 adjusts the interface to reflect the post status as filtered and set.

 With the Classic Editor, this issue still persists.

 [attachment:"11207.2.diff"] would fix a scenario where the post status is
 switched from `publish` (or any other status) to `draft`, but not the
 other way around because `$_POST['publish']` would not be set.

 Since this only affects the Classic Editor, I'm going to mark this low
 priority. If someone is willing to write a patch, it's reasonable to

Ticket URL: <https://core.trac.wordpress.org/ticket/11207#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list