[wp-trac] [WordPress Trac] #24763: Add filter to query in get_page_by_path function

WordPress Trac noreply at wordpress.org
Wed Feb 26 16:44:19 UTC 2014


#24763: Add filter to query in get_page_by_path function
-------------------------------+------------------
 Reporter:  zbtirrell          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  3.9
Component:  Posts, Post Types  |     Version:  3.6
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------

Comment (by nacin):

 We could choose to only add 'attachment' if you're passing a scalar value.
 If you pass an array, then it's an explicit list and attachments are
 ignored. Thoughts?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24763#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list