[wp-trac] [WordPress Trac] #35495: Allow `get_terms()` to return all terms, make `$taxonomy` parameter optional

WordPress Trac noreply at wordpress.org
Sun Feb 21 16:38:57 UTC 2016


#35495: Allow `get_terms()` to return all terms, make `$taxonomy` parameter
optional
--------------------------------------+--------------------
 Reporter:  flixos90                  |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  4.5
Component:  Taxonomy                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------

Comment (by TimothyBlynJacobs):

 I don't think this should throw a deprecated argument for a few releases.
 For anyone who has to support less than 4.5 it will liter the codebase
 with WP version checks. Additionally, the prior syntax is more clean when
 doing a simple query for only one taxonomy.

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


More information about the wp-trac mailing list