Opened 10 years ago
Closed 10 years ago
#39905 closed defect (bug) (invalid)
Alternative function for get_terms not documented yet
| Reported by: | subrataemfluence | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 4.7.2 |
| Severity: | normal | Keywords: | has-screenshots |
| Cc: | Focuses: | docs |
Description
Function get_terms() is showing as deprecated in 4.7.2.
https://core.trac.wordpress.org/browser/tags/4.7.2/src/wp-includes/deprecated.php#L1276 still shows get_terms as the latest alternative of get_all_category_ids.
What is the alternative function? File deprecated.php targets version 4.7.2 so it needs to be updated with the correct alternative.
Attachments (1)
Change History (3)
#2
@
10 years ago
- Component Help/About → Taxonomy
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
Hi @subrataemfluence, thanks for the ticket!
get_terms() itself is not deprecated, only its second argument is: tags/4.7.2/src/wp-includes/taxonomy.php?marks=1078-1080#L1073.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Tooltip showing deprecated