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
This commit is contained in:
dmsnell
2025-10-21 04:19:26 +00:00
parent 65e16daded
commit f5ce65e2bf
2 changed files with 5 additions and 4 deletions

View File

@@ -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 theres 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

View File

@@ -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.