We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@since
wp_parse_id_list()
wp_parse_slug_list()
wp_parse_list()
1 parent f5ca52c commit 052550fCopy full SHA for 052550f
src/wp-includes/functions.php
@@ -4533,6 +4533,7 @@ function wp_parse_list( $list ) {
4533
* Cleans up an array, comma- or space-separated list of IDs.
4534
*
4535
* @since 3.0.0
4536
+ * @since 5.1.0 Refactored to use wp_parse_list().
4537
4538
* @param array|string $list List of IDs.
4539
* @return int[] Sanitized array of IDs.
@@ -4547,6 +4548,7 @@ function wp_parse_id_list( $list ) {
4547
4548
* Cleans up an array, comma- or space-separated list of slugs.
4549
4550
* @since 4.7.0
4551
4552
4553
* @param array|string $list List of slugs.
4554
* @return string[] Sanitized array of slugs.
0 commit comments