[wp-trac] [WordPress Trac] #37904: PHP warning when `include` is passed for `orderby` in get_terms()

WordPress Trac noreply at wordpress.org
Thu Sep 1 16:41:45 UTC 2016


#37904: PHP warning when `include` is passed for `orderby` in get_terms()
--------------------------+---------------------------
 Reporter:  rabmalin      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.7
Component:  Query         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * version:  trunk => 4.1
 * milestone:  Awaiting Review => 4.7


Comment:

 Thanks for the ticket and for the patches! Introduced in [30052]; it was
 assumed there that `'include'` would always be an array, not a comma-
 separated list.

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


More information about the wp-trac mailing list