Taxonomy: Update @since
annotations for meta_box_sanitize_cb
arg.
Introduced in [42211]. Fixes #36514. git-svn-id: https://develop.svn.wordpress.org/trunk@44519 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f27fc64e2e
commit
493b90cde1
@ -1994,7 +1994,7 @@ function redirect_post( $post_id = '' ) {
|
||||
/**
|
||||
* Sanitizes POST values from a checkbox taxonomy metabox.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 5.1.0
|
||||
*
|
||||
* @param mixed $terms Raw term data from the 'tax_input' field.
|
||||
* @return array
|
||||
@ -2006,7 +2006,7 @@ function taxonomy_meta_box_sanitize_cb_checkboxes( $taxonomy, $terms ) {
|
||||
/**
|
||||
* Sanitizes POST values from an input taxonomy metabox.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 5.1.0
|
||||
*
|
||||
* @param mixed $terms Raw term data from the 'tax_input' field.
|
||||
* @return array
|
||||
|
@ -130,7 +130,7 @@ final class WP_Taxonomy {
|
||||
/**
|
||||
* The callback function for sanitizing taxonomy data saved from a meta box.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 5.1.0
|
||||
* @var callable
|
||||
*/
|
||||
public $meta_box_sanitize_cb = null;
|
||||
|
@ -333,7 +333,7 @@ function is_taxonomy_hierarchical( $taxonomy ) {
|
||||
* @since 4.5.0 Introduced `publicly_queryable` argument.
|
||||
* @since 4.7.0 Introduced `show_in_rest`, 'rest_base' and 'rest_controller_class'
|
||||
* arguments to register the Taxonomy in REST API.
|
||||
* @since 5.0.0 Introduced `meta_box_sanitize_cb` argument.
|
||||
* @since 5.1.0 Introduced `meta_box_sanitize_cb` argument.
|
||||
*
|
||||
* @global array $wp_taxonomies Registered taxonomies.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user