Opened 16 years ago
Closed 16 years ago
#9293 closed enhancement (fixed)
Clarify the args passed into wp_update_term
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | low |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | Cc: |
Description
The args for wp_update_term are currently:
wp_update_term( $term, $taxonomy, $args = array() )
The first argument is not actually the term, but the term ID. Clearer code might be:
wp_update_term( $term_id, $taxonomy, $args = array() )
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Patch to clarify the args for wp_update_term