[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 18:13:55 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           |  Resolution:
 Keywords:  has-patch close  |
-----------------------------+------------------------------
Changes (by wpdavis):

 * keywords:  has-patch => has-patch close


Comment:

 Bah, think I found it. There was a small bug in JJJ's post type switcher
 plugin. Sorry for clogging up Trac with non-core bugs, guys.

 Suggesting this is set to close since the function doesn't expose
 revisions as I thought, though I'd still be happy to work on a new version
 of the function if you guys would like.

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


More information about the wp-trac mailing list