[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:39:30 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 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.

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


More information about the wp-trac mailing list