[wp-trac] [WordPress Trac] #60566: Posts Page as Draft remains publicly queryable

WordPress Trac noreply at wordpress.org
Mon Feb 19 11:04:09 UTC 2024


#60566: Posts Page as Draft remains publicly queryable
--------------------------+-----------------------------
 Reporter:  Cybr          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch
 * component:  General => Query
 * milestone:  Awaiting Review => Future Release


Comment:

 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.

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


More information about the wp-trac mailing list