[wp-trac] [WordPress Trac] #65378: Post Set to PRIVATE Visibility is PUBLIC Upon UPDATE

WordPress Trac noreply at wordpress.org
Mon Jun 1 16:09:57 UTC 2026


#65378: Post Set to PRIVATE Visibility is PUBLIC Upon UPDATE
--------------------------+------------------------------
 Reporter:  drusso1       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  7.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by abcd95):

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

 === Environment
 - WordPress: 7.1-alpha-62161-src
 - PHP: 8.3.31
 - Server: nginx/1.31.0
 - Database: mysqli (Server: 8.4.9 / Client: mysqlnd 8.3.31)
 - Browser: Chrome 148.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.5
 - Plugins:
   * Test Reports 1.2.0
   * classic-editor.php

 === Actual Results
 1. ❌ Error condition does not occur (not reproduced). Setting a post to
 private visibility and clicking update successfully saves and retains the
 private status.

 === Additional Notes
 - Analysis of the core post-save flow inside `_wp_translate_postdata()`
 (located in `src/wp-admin/includes/post.php`) shows that the post status
 is guarded against override when updating.

 @drusso1 Perhaps, if possible, could you send a screencast of what you
 see?

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


More information about the wp-trac mailing list