[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:25 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        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by scribu:

Old description:

> 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

New description:

 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

--

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


More information about the wp-trac mailing list