[wp-trac] [WordPress Trac] #55441: In wp_insert_term, pass $args as an additional parameter to after-insert actions (create_term, created_term, et al)
WordPress Trac
noreply at wordpress.org
Fri Jul 1 19:20:43 UTC 2022
#55441: In wp_insert_term, pass $args as an additional parameter to after-insert
actions (create_term, created_term, et al)
-------------------------+--------------------------
Reporter: mboynes | Owner: johnbillion
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.1
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+--------------------------
Changes (by SergeyBiryukov):
* status: closed => reopened
* resolution: fixed =>
Comment:
Minor nitpick: why is the `$args` description different for
`wp_insert_term()` vs. `wp_update_term()`?
* `wp_insert_term()`: "Term arguments passed to the function."
* `wp_update_term()`: "Arguments passed to wp_update_term()."
Could we use the same pattern for both?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55441#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list