From b964d532e29768ebe57d8a496b5776829d6d8c52 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 1 Jun 2021 21:21:57 +0000 Subject: [PATCH] Docs: Add a `@since` note to `wp_parse_id_list()` and `wp_parse_slug_list()` about using `wp_parse_list()`. Follow-up to [44546], [49941]. Props joyously, dlh, pbiron. See #52628. Built from https://develop.svn.wordpress.org/trunk@51055 git-svn-id: http://core.svn.wordpress.org/trunk@50664 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 043491e310..0ba059ba8e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4533,6 +4533,7 @@ function wp_parse_list( $list ) { * Cleans up an array, comma- or space-separated list of IDs. * * @since 3.0.0 + * @since 5.1.0 Refactored to use wp_parse_list(). * * @param array|string $list List of IDs. * @return int[] Sanitized array of IDs. @@ -4547,6 +4548,7 @@ function wp_parse_id_list( $list ) { * Cleans up an array, comma- or space-separated list of slugs. * * @since 4.7.0 + * @since 5.1.0 Refactored to use wp_parse_list(). * * @param array|string $list List of slugs. * @return string[] Sanitized array of slugs. diff --git a/wp-includes/version.php b/wp-includes/version.php index 5b97a5e6c8..05193eb146 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51054'; +$wp_version = '5.8-alpha-51055'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.