[wp-trac] [WordPress Trac] #33065: Allow for querying by `post_name__in`

WordPress Trac noreply at wordpress.org
Thu Jul 23 09:30:47 UTC 2015


#33065: Allow for querying by `post_name__in`
-------------------------------------------------+-------------------------
 Reporter:  dd32                                 |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Query                                |  Release
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug needs-patch needs-    |  Resolution:
  unit-tests                                     |     Focuses:
-------------------------------------------------+-------------------------

Comment (by enshrined):

 Hi @boonebgorges,

 Thanks for that, did it late last night so must have just overlooked them.
 Here's an updated patch with the block moved to an elseif, docs fixed and
 the `array_map` correctly working.

 I wasn't too sure whether to sit the block above or below the `} elseif (
 '' != $q['attachment'] ) {` block. I've settled for below for now so as
 not to change any code that doesn't have to be but if you'd prefer it
 above that can also be done.

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


More information about the wp-trac mailing list