[wp-trac] [WordPress Trac] #57380: [documentation] get_terms basic usage order

WordPress Trac noreply at wordpress.org
Fri Dec 23 12:22:30 UTC 2022


#57380: [documentation] get_terms basic usage order
---------------------------+-----------------------------
 Reporter:  ramon fincken  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Taxonomy       |    Version:  trunk
 Severity:  normal         |   Keywords:  has-patch
  Focuses:  docs           |
---------------------------+-----------------------------
 Currently, the
 https://developer.wordpress.org/reference/functions/get_terms/ page shows
 the deprecated way of calling get_terms for taxonomy "X", followed by the
 more recent ( 4.5.0 ) way of calling get_terms

 I for one mis-copy pasted the first piece of code. Why not switch the two
 exmple blocks ?
 Or even delete the deprecated block of code  as 4.5.0 was released in
 April 2016 ... which is quite a while ago. ( https://wordpress.org/support
 /wordpress-version/version-4-5/ )

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57380>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list