Opened 23 months ago
Closed 23 months ago
#57380 closed enhancement (fixed)
[documentation] get_terms basic usage order
Reported by: | ramon fincken | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.2 | Priority: | normal |
Severity: | normal | Version: | 4.5 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
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/ )
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
57380.20221223.1.patch