mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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
This commit is contained in:
parent
21cf927961
commit
b964d532e2
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user