mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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:
@@ -735,7 +735,6 @@ class WP_Customize_Widgets {
|
||||
'i18n' => array(
|
||||
'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 ) {
|
||||
unset( $registered_widget['callback'] ); // may not be JSON-serializeable
|
||||
|
||||
Reference in New Issue
Block a user