[wp-trac] [WordPress Trac] #39939: A Contributor cannot preview their own post if it's scheduled

WordPress Trac noreply at wordpress.org
Thu Sep 18 13:10:43 UTC 2025


#39939: A Contributor cannot preview their own post if it's scheduled
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  needs-patch needs-unit-tests close   |     Focuses:
  has-test-info has-screenshots                  |  administration
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  needs-patch needs-unit-tests => needs-patch needs-unit-tests
     close has-test-info has-screenshots


Comment:

 == Reproduction Report
 === Description
 ✅ This report still validates that 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 139.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.3
 - MU Plugins: None activated
 - Plugins:
  * Test Reports 1.2.0

 === Testing Instructions
 - The ones provided by OP

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

 === Additional Notes
 - The hook solution is adequate, but it feels like bread for today, hunger
 for tomorrow. Personally I also find that looking for the definitive
 solution provided in #33240 is the best option to go here. I'm adding
 `close` this in benefit to #33240, in case anyone wants to add anything
 else.

 === Supplemental Artifacts

 Repro screenshot
 [[Image(https://i.imgur.com/7TQVyrb.png)]]

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


More information about the wp-trac mailing list