[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:08:16 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: closed
Priority: normal | Milestone: 6.1
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+--------------------------
Changes (by johnbillion):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"53627" 53627]:
{{{
#!CommitTicketReference repository="" revision="53627"
Taxonomy: Pass the `$args` parameter to all actions and filters in
`wp_insert_term()` and `wp_update_term()`.
This allows actions and filters to access potentially useful contextual
information when terms are inserted and updated.
Props mboynes
Fixes #55441
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55441#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list