diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index dca355a0a7..a66e8a264c 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -3391,6 +3391,15 @@ function wp_remove_surrounding_empty_script_tags( $contents ) { } else { $error_message = __( 'Expected string to start with script tag (without attributes) and end with script tag, with optional whitespace.' ); _doing_it_wrong( __FUNCTION__, $error_message, '6.4' ); - return sprintf( 'console.error(%s)', wp_json_encode( __( 'Function wp_remove_surrounding_empty_script_tags() used incorrectly in PHP.' ) . ' ' . $error_message ) ); + return sprintf( + 'console.error(%s)', + wp_json_encode( + sprintf( + /* translators: %s: wp_remove_surrounding_empty_script_tags() */ + __( 'Function %s used incorrectly in PHP.' ), + 'wp_remove_surrounding_empty_script_tags()' + ) . ' ' . $error_message + ) + ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 421feed780..1c446efed8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta2-57698'; +$wp_version = '6.5-beta2-57699'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.