Make WordPress Core

Opened 7 weeks ago

Closed 6 weeks ago

#65378 closed defect (bug) (worksforme)

Post Set to PRIVATE Visibility is PUBLIC Upon UPDATE

Reported by: drusso1 Owned by:
Priority: normal Milestone:
Component: Editor Version:
Severity: normal Keywords: needs-testing needs-patch 2nd-opinion reporter-feedback
Cc: Focuses:

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 7 weeks ago.

Download all attachments as: .zip

Change History (5)

#1 @abcd95
7 weeks 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?

#2 @abdullahramzan
7 weeks ago

  • Keywords needs-testing needs-patch 2nd-opinion added

This ticket was mentioned in Slack in #core by abdullahramzan. View the logs.


7 weeks ago

#4 @jorbin
6 weeks ago

  • Keywords reporter-feedback added
  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed
  • Version 7.0

I also was unable to replicate this issue and am closing it as worksforme. @drusso1, Please feel free to add additional information if you think that this is in error.

Note: See TracTickets for help on using tickets.