[wp-trac] [WordPress Trac] #51246: single_post_title() doesn't respect private and protected posts
WordPress Trac
noreply at wordpress.org
Thu Sep 11 17:02:49 UTC 2025
#51246: single_post_title() doesn't respect private and protected posts
-------------------------------+-------------------------
Reporter: henry.wright | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version:
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
-------------------------------+-------------------------
Changes (by SirLouen):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
== Reproduction Report
=== Description
❌ This report can't validate 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: Minimal Theme 1.0.0
- MU Plugins: None activated
- Plugins:
* BBB Testing Dolly
* Test Reports 1.2.0
=== Testing Instrutions
1. Add `single_post_title()` to a `single.php` template file
2. Create a Private Post
3. Access the post without being logged in
4. 👌 Title cannot be seen as expected
=== Actual Results
1. ❌ Error condition is not ocurring
=== Additional Notes
- Given that this cannot be not reproduced any more, its time to close
this as `worksforme`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51246#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list