[wp-trac] [WordPress Trac] #44805: Resurrecting post from trash reverts its slug

WordPress Trac noreply at wordpress.org
Sun Sep 28 11:38:42 UTC 2025


#44805: Resurrecting post from trash reverts its slug
-------------------------------------------------+-------------------------
 Reporter:  ajmccluskey                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:  4.5
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch good-first-bug has-      |     Focuses:
  test-info                                      |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  2nd-opinion reporter-feedback => needs-patch good-first-bug
     has-test-info
 * version:  4.9.7 => 4.5
 * milestone:  Awaiting Review => Future Release


Comment:

 == Reproduction Report
 === Description
 ✅ This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.1
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 140.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Sixteen 3.6
 - MU Plugins: None activated
 - Plugins:
   * BBB Testing Dolly
   * Classic Editor 1.6.7
   * Test Reports 1.2.0

 === Testing Instructions
 - Test by adding the code
 [https://core.trac.wordpress.org/ticket/44805#comment:1 provided here]

 === Actual Results
 1. ✅ Error condition occurs (reproduced).

 === Additional Notes
 - I can confirm this is happening, the logic brought in #11863/[36607] was
 not complete. This is a very edge case, but still, as @ajmccluskey and
 @JPry have suggested, it's happening, and it's relatively simple to be
 sorted.

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


More information about the wp-trac mailing list