src/wp-includes/rest-api.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wp-includes/rest-api.php b/src/wp-includes/rest-api.php
index 0cce9fa62f..cf61cdcbd5 100644
a
|
b
|
function rest_get_avatar_sizes() { |
1082 | 1082 | function rest_validate_value_from_schema( $value, $args, $param = '' ) { |
1083 | 1083 | if ( 'array' === $args['type'] ) { |
1084 | 1084 | if ( ! is_array( $value ) ) { |
1085 | | $value = preg_split( '/[\s,]+/', $value ); |
| 1085 | $value = preg_split( '/[\s,]+/', $value, -1, PREG_SPLIT_NO_EMPTY ); |
1086 | 1086 | } |
1087 | 1087 | if ( ! wp_is_numeric_array( $value ) ) { |
1088 | 1088 | /* translators: 1: parameter, 2: type name */ |