[wp-trac] [WordPress Trac] #24763: Add filter to query in get_page_by_path function
WordPress Trac
noreply at wordpress.org
Tue Feb 11 05:46:40 UTC 2014
#24763: Add filter to query in get_page_by_path function
-------------------------------+------------------------------
Reporter: zbtirrell | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.6
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback => needs-patch
Comment:
Replying to [comment:2 zbtirrell]:
> Perhaps we could allow for $post_types to be an array that gets imploded
to build this segment?
This seems like the way to go here. Let's do it for both
`get_page_by_path()` and `get_page_by_title()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24763#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list