[wp-trac] [WordPress Trac] #17361: get_page_by_path() returns deleted posts

WordPress Trac wp-trac at lists.automattic.com
Tue May 10 11:15:53 UTC 2011


#17361: get_page_by_path() returns deleted posts
--------------------------+------------------------------
 Reporter:  mark8barnes   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by mark8barnes):

 Perhaps its just the name that's confusing. I expect this function to
 return posts that are accessible by a URI. Maybe it should have been
 called get_page_by_slug()

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


More information about the wp-trac mailing list