diff --git a/src/wp-includes/Text/Diff.php b/src/wp-includes/Text/Diff.php
index 40dba1a4a3..eee4e4f8ea 100644
a
|
b
|
class Text_MappedDiff extends Text_Diff { |
296 | 296 | /** |
297 | 297 | * Computes a diff between sequences of strings. |
298 | 298 | * |
299 | | * This can be used to compute things like case-insensitve diffs, or diffs |
| 299 | * This can be used to compute things like case-insensitive diffs, or diffs |
300 | 300 | * which ignore changes in white-space. |
301 | 301 | * |
302 | 302 | * @param array $from_lines An array of strings. |
diff --git a/src/wp-includes/class-wp-customize-widgets.php b/src/wp-includes/class-wp-customize-widgets.php
index c8a00c741f..8c822ea28f 100644
a
|
b
|
final class WP_Customize_Widgets { |
823 | 823 | ); |
824 | 824 | |
825 | 825 | foreach ( $settings['registeredWidgets'] as &$registered_widget ) { |
826 | | unset( $registered_widget['callback'] ); // May not be JSON-serializeable. |
| 826 | unset( $registered_widget['callback'] ); // May not be JSON-serializable. |
827 | 827 | } |
828 | 828 | |
829 | 829 | $wp_scripts->add_data( |
… |
… |
final class WP_Customize_Widgets { |
1308 | 1308 | ); |
1309 | 1309 | |
1310 | 1310 | foreach ( $settings['registeredWidgets'] as &$registered_widget ) { |
1311 | | unset( $registered_widget['callback'] ); // May not be JSON-serializeable. |
| 1311 | unset( $registered_widget['callback'] ); // May not be JSON-serializable. |
1312 | 1312 | } |
1313 | 1313 | wp_print_inline_script_tag( |
1314 | 1314 | sprintf( 'var _wpWidgetCustomizerPreviewSettings = %s;', wp_json_encode( $settings ) ) |