Docs: Improve changelog entries added for the delete_term
and delete_{$taxonomy}
actions in [36080] and a third entry added for the clean_term_cache
action in [36399]
See #35213, #35611. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@36962 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b557ee2d1b
commit
32dc4c97e0
@ -2395,7 +2395,7 @@ function wp_delete_term( $term, $taxonomy, $args = array() ) {
|
||||
* Fires after a term is deleted from the database and the cache is cleaned.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 4.5.0 Introduced `$object_ids` argument.
|
||||
* @since 4.5.0 Introduced the `$object_ids` argument.
|
||||
*
|
||||
* @param int $term Term ID.
|
||||
* @param int $tt_id Term taxonomy ID.
|
||||
@ -2413,7 +2413,7 @@ function wp_delete_term( $term, $taxonomy, $args = array() ) {
|
||||
* taxonomy the term belonged to.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @since 4.5.0 Introduced `$object_ids` argument.
|
||||
* @since 4.5.0 Introduced the `$object_ids` argument.
|
||||
*
|
||||
* @param int $term Term ID.
|
||||
* @param int $tt_id Term taxonomy ID.
|
||||
@ -3743,7 +3743,7 @@ function clean_term_cache($ids, $taxonomy = '', $clean_taxonomy = true) {
|
||||
* Fires once after each taxonomy's term cache has been cleaned.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 4.5.0 Added $clean_taxonomy param.
|
||||
* @since 4.5.0 Added the `$clean_taxonomy` parameter.
|
||||
*
|
||||
* @param array $ids An array of term IDs.
|
||||
* @param string $taxonomy Taxonomy slug.
|
||||
|
Loading…
Reference in New Issue
Block a user