From f5ce65e2bfbb36a5fe9c3ce2884f99edf0f8b14a Mon Sep 17 00:00:00 2001 From: dmsnell Date: Tue, 21 Oct 2025 04:19:26 +0000 Subject: [PATCH] Charset: Update docblock comment in _wp_scan_utf8(). Rewording of comment to better clarify the purpose of the arguments as written. Discussed in https://core.trac.wordpress.org/ticket/63863 Follow-up to [60768]. See #63863. Built from https://develop.svn.wordpress.org/trunk@61004 git-svn-id: http://core.svn.wordpress.org/trunk@60340 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/compat-utf8.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-includes/compat-utf8.php b/wp-includes/compat-utf8.php index 629cc1864f..36bb690004 100644 --- a/wp-includes/compat-utf8.php +++ b/wp-includes/compat-utf8.php @@ -28,9 +28,10 @@ * 1 === _wp_scan_utf8( $pineapple, $at, $invalid_length ); * $at === 4; $invalid_length === 0; * - * Note! This functions many arguments are passed without and “options” - * array. This choice is based on the fact that this is a low-level function - * and there’s no need to create an array of items on every invocation. + * Note! While passing an options array here might be convenient from a calling-code standpoint, + * this function is intended to serve as a very low-level foundation upon which to build + * higher level functionality. For the sake of keeping costs explicit all arguments are + * passed directly. * * @since 6.9.0 * @access private diff --git a/wp-includes/version.php b/wp-includes/version.php index aec6184117..252cd98a61 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-61003'; +$wp_version = '6.9-alpha-61004'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.