summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-wp-customize-widgets.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-includes/class-wp-customize-widgets.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php
index c8a00c7..8c822ea 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 ) )