Make WordPress Core

Opened 23 hours ago

Last modified 2 hours ago

#65378 new defect (bug)

Post Set to PRIVATE Visibility is PUBLIC Upon UPDATE

Reported by: drusso1's profile drusso1 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 7.0
Component: Editor Keywords:
Focuses: Cc:

Description

Our site uses the Classic WordPress editor. After updating to WordPress 7, if I set a post to PRIVATE Visibility, then click UPDATE, the post is published to PUBLIC.

Attachments (1)

BugReportWordPressMay31_2026.pdf (107.2 KB) - added by drusso1 23 hours ago.

Download all attachments as: .zip

Change History (2)

#1 @abcd95
2 hours ago

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?

Note: See TracTickets for help on using tickets.