Opened 8 months ago
Last modified 8 months ago
#60566 new defect (bug)
Posts Page as Draft remains publicly queryable
Reported by: | Cybr | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Query | Keywords: | needs-patch |
Focuses: | Cc: |
Description
When assigning a Posts Page at "WP Admin > Settings > Reading" and afterward setting that page to draft, the page remains publicly queryable. This is possible via the ?page_id=
query (not ?p=
) and the provisioned slug.
Change History (2)
#2
@
8 months ago
- Component changed from General to Query
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
Can confirm this.
Any non-empty ?page_id=
query var will work if the posts page is a draft.
Only when using ?page_id=<id>
will the page title also be displayed.
Note: See
TracTickets for help on using
tickets.
When adding a
preview=true
-query, the Posts Page will return a 404 response.