[wp-trac] [WordPress Trac] #37545: `taxonomy` param of `WP_Term_Query` doesn't accept string value

WordPress Trac noreply at wordpress.org
Tue Aug 2 19:14:50 UTC 2016


#37545: `taxonomy` param of `WP_Term_Query` doesn't accept string value
------------------------------------+---------------------------
 Reporter:  boonebgorges            |       Owner:  boonebgorges
     Type:  defect (bug)            |      Status:  assigned
 Priority:  normal                  |   Milestone:  4.6
Component:  Taxonomy                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch needs-review  |     Focuses:
------------------------------------+---------------------------
Changes (by boonebgorges):

 * keywords:   => has-patch needs-review
 * owner:   => boonebgorges
 * status:  new => assigned


Comment:

 [attachment:37545.diff] contains tests for array vs string values, as well
 as a simple fix.

 Ping @ocean90 for review.

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


More information about the wp-trac mailing list