From a6c37e6b50676790dc058085122dc50e69a68254 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 18 Jan 2024 22:13:16 +0000 Subject: [PATCH] Docs: Fix several typos in inline comments. Follow-up to [7747], [27419], [55155]. Props shailu25, sabernhardt. Fixes #60285. Built from https://develop.svn.wordpress.org/trunk@57309 git-svn-id: http://core.svn.wordpress.org/trunk@56815 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/Text/Diff.php | 2 +- wp-includes/class-wp-customize-widgets.php | 4 ++-- wp-includes/global-styles-and-settings.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/Text/Diff.php b/wp-includes/Text/Diff.php index 40dba1a4a3..eee4e4f8ea 100644 --- a/wp-includes/Text/Diff.php +++ b/wp-includes/Text/Diff.php @@ -296,7 +296,7 @@ class Text_MappedDiff extends Text_Diff { /** * Computes a diff between sequences of strings. * - * This can be used to compute things like case-insensitve diffs, or diffs + * This can be used to compute things like case-insensitive diffs, or diffs * which ignore changes in white-space. * * @param array $from_lines An array of strings. diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index c8a00c741f..8c822ea28f 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -823,7 +823,7 @@ final class WP_Customize_Widgets { ); foreach ( $settings['registeredWidgets'] as &$registered_widget ) { - unset( $registered_widget['callback'] ); // May not be JSON-serializeable. + unset( $registered_widget['callback'] ); // May not be JSON-serializable. } $wp_scripts->add_data( @@ -1308,7 +1308,7 @@ final class WP_Customize_Widgets { ); foreach ( $settings['registeredWidgets'] as &$registered_widget ) { - unset( $registered_widget['callback'] ); // May not be JSON-serializeable. + unset( $registered_widget['callback'] ); // May not be JSON-serializable. } wp_print_inline_script_tag( sprintf( 'var _wpWidgetCustomizerPreviewSettings = %s;', wp_json_encode( $settings ) ) diff --git a/wp-includes/global-styles-and-settings.php b/wp-includes/global-styles-and-settings.php index acca33be1e..6ccf02f577 100644 --- a/wp-includes/global-styles-and-settings.php +++ b/wp-includes/global-styles-and-settings.php @@ -54,7 +54,7 @@ function wp_get_global_settings( $path = array(), $context = array() ) { * is always fresh from the potential modifications done via hooks * that can use dynamic data (modify the stylesheet depending on some option, * settings depending on user permissions, etc.). - * See some of the existing hooks to modify theme.json behaviour: + * See some of the existing hooks to modify theme.json behavior: * https://make.wordpress.org/core/2022/10/10/filters-for-theme-json-data/ * * A different alternative considered was to invalidate the cache upon certain diff --git a/wp-includes/version.php b/wp-includes/version.php index 724f1e81b8..db2b3ada46 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57308'; +$wp_version = '6.5-alpha-57309'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.