Opened 4 years ago
Closed 4 years ago
#57380 closed enhancement (fixed)
[documentation] get_terms basic usage order
| Reported by: | ramon fincken | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.2 |
| Component: | Taxonomy | Version: | 4.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
57380.20221223.1.patch