[wp-trac] [WordPress Trac] #21298: get_page_by_path() returns trashed pages

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 17 15:06:13 UTC 2012


#21298: get_page_by_path() returns trashed pages
--------------------------+-----------------------------
 Reporter:  scribu        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 This causes weird bugs: if you go to http://example.com/trashed-page/

 * if you're an admin, you'll see the page as if it was published
 * if you're not, you get a 404
 I

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21298>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list