Widget Customizer: Remove unused vars.
see #27112. git-svn-id: https://develop.svn.wordpress.org/trunk@27588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad24828f32
commit
5358f081be
@ -735,7 +735,6 @@ class WP_Customize_Widgets {
|
|||||||
'i18n' => array(
|
'i18n' => array(
|
||||||
'widget_tooltip' => __( 'Press shift and then click to edit widget in customizer...' ),
|
'widget_tooltip' => __( 'Press shift and then click to edit widget in customizer...' ),
|
||||||
),
|
),
|
||||||
'request_uri' => wp_unslash( $_SERVER['REQUEST_URI'] ),
|
|
||||||
);
|
);
|
||||||
foreach ( $exports['registered_widgets'] as &$registered_widget ) {
|
foreach ( $exports['registered_widgets'] as &$registered_widget ) {
|
||||||
unset( $registered_widget['callback'] ); // may not be JSON-serializeable
|
unset( $registered_widget['callback'] ); // may not be JSON-serializeable
|
||||||
|
@ -9,9 +9,6 @@ var WidgetCustomizerPreview = (function ($) {
|
|||||||
registered_sidebars: [], // @todo Make a Backbone collection
|
registered_sidebars: [], // @todo Make a Backbone collection
|
||||||
registered_widgets: {}, // @todo Make array, Backbone collection
|
registered_widgets: {}, // @todo Make array, Backbone collection
|
||||||
widget_selectors: [],
|
widget_selectors: [],
|
||||||
render_widget_ajax_action: null,
|
|
||||||
render_widget_nonce_value: null,
|
|
||||||
render_widget_nonce_post_key: null,
|
|
||||||
preview: null,
|
preview: null,
|
||||||
i18n: {},
|
i18n: {},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user