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

WordPress Trac noreply at wordpress.org
Fri Sep 2 01:41:31 UTC 2016


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

Comment (by dd32):

 Replying to [comment:6 boonebgorges]:
 > @dd32 It's not a 4.6 regression, and not even a 4.1 regression, strictly
 - it was an oversight when the feature was first introduced. That said,
 it's minor and perfectly safe for 4.6.x inclusion, if you think it's
 warranted.

 I misread it and thought that `orderby=include` was a 4.6 thing, never
 mind, this doesn't need to be in a 4.6.x

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


More information about the wp-trac mailing list