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
This commit is contained in:
parent
0e4eaa64b5
commit
a6c37e6b50
|
@ -296,7 +296,7 @@ class Text_MappedDiff extends Text_Diff {
|
||||||
/**
|
/**
|
||||||
* Computes a diff between sequences of strings.
|
* 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.
|
* which ignore changes in white-space.
|
||||||
*
|
*
|
||||||
* @param array $from_lines An array of strings.
|
* @param array $from_lines An array of strings.
|
||||||
|
|
|
@ -823,7 +823,7 @@ final class WP_Customize_Widgets {
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $settings['registeredWidgets'] as &$registered_widget ) {
|
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(
|
$wp_scripts->add_data(
|
||||||
|
@ -1308,7 +1308,7 @@ final class WP_Customize_Widgets {
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $settings['registeredWidgets'] as &$registered_widget ) {
|
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(
|
wp_print_inline_script_tag(
|
||||||
sprintf( 'var _wpWidgetCustomizerPreviewSettings = %s;', wp_json_encode( $settings ) )
|
sprintf( 'var _wpWidgetCustomizerPreviewSettings = %s;', wp_json_encode( $settings ) )
|
||||||
|
|
|
@ -54,7 +54,7 @@ function wp_get_global_settings( $path = array(), $context = array() ) {
|
||||||
* is always fresh from the potential modifications done via hooks
|
* is always fresh from the potential modifications done via hooks
|
||||||
* that can use dynamic data (modify the stylesheet depending on some option,
|
* that can use dynamic data (modify the stylesheet depending on some option,
|
||||||
* settings depending on user permissions, etc.).
|
* 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/
|
* https://make.wordpress.org/core/2022/10/10/filters-for-theme-json-data/
|
||||||
*
|
*
|
||||||
* A different alternative considered was to invalidate the cache upon certain
|
* A different alternative considered was to invalidate the cache upon certain
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue