[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:54:07 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 zbtirrell):

 Replying to [comment:6 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?

 Seems like a great idea, updated patch has been uploaded.

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


More information about the wp-trac mailing list