[wp-trac] [WordPress Trac] #20350: get_page_by_title() query can return unpublished page or page revision

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 3 13:50:48 UTC 2012


#20350: get_page_by_title() query can return unpublished page or page revision
--------------------------+-----------------------------
 Reporter:  wpdavis       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 The query in get_page_by_title() doesn't check for post status in the
 query and therefore can return an unpublished page or a revision of a
 page.

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


More information about the wp-trac mailing list