Taxonomy: Update `@since` annotations for `meta_box_sanitize_cb` arg.

Introduced in [42211].

Fixes #36514.
Built from https://develop.svn.wordpress.org/trunk@44519


git-svn-id: http://core.svn.wordpress.org/trunk@44350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2019-01-09 15:11:48 +00:00
parent 04dff0e2a9
commit 811be4779e
4 changed files with 5 additions and 5 deletions

View File

@ -1994,7 +1994,7 @@ function redirect_post( $post_id = '' ) {
/** /**
* Sanitizes POST values from a checkbox taxonomy metabox. * 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. * @param mixed $terms Raw term data from the 'tax_input' field.
* @return array * @return array
@ -2006,7 +2006,7 @@ function taxonomy_meta_box_sanitize_cb_checkboxes( $taxonomy, $terms ) {
/** /**
* Sanitizes POST values from an input taxonomy metabox. * 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. * @param mixed $terms Raw term data from the 'tax_input' field.
* @return array * @return array

View File

@ -130,7 +130,7 @@ final class WP_Taxonomy {
/** /**
* The callback function for sanitizing taxonomy data saved from a meta box. * The callback function for sanitizing taxonomy data saved from a meta box.
* *
* @since 5.0.0 * @since 5.1.0
* @var callable * @var callable
*/ */
public $meta_box_sanitize_cb = null; public $meta_box_sanitize_cb = null;

View File

@ -333,7 +333,7 @@ function is_taxonomy_hierarchical( $taxonomy ) {
* @since 4.5.0 Introduced `publicly_queryable` argument. * @since 4.5.0 Introduced `publicly_queryable` argument.
* @since 4.7.0 Introduced `show_in_rest`, 'rest_base' and 'rest_controller_class' * @since 4.7.0 Introduced `show_in_rest`, 'rest_base' and 'rest_controller_class'
* arguments to register the Taxonomy in REST API. * 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. * @global array $wp_taxonomies Registered taxonomies.
* *

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.1-alpha-44518'; $wp_version = '5.1-alpha-44519';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.