[wp-trac] [WordPress Trac] #17361: get_page_by_path() returns deleted posts
WordPress Trac
wp-trac at lists.automattic.com
Tue May 10 02:27:41 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 | Keywords:
--------------------------+-----------------------------
I think the title is self-explanatory. This behaviour is counter-
intuitive, as deleted posts aren't retrievable by the path. If the
existing behaviour needs to remain for backwards compatibility, there
should be an extra parameter added so deleted posts can be optionally
excluded.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17361>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list