diff --git a/src/wp-admin/widgets.php b/src/wp-admin/widgets.php index 06b105ecc8..8c99b30eeb 100644 --- a/src/wp-admin/widgets.php +++ b/src/wp-admin/widgets.php @@ -34,6 +34,11 @@ if ( 'on' == $widgets_access ) { wp_enqueue_script( 'jquery-touch-punch' ); } +/** + * Fires early before the Widgets administration screen loads, after scripts are enqueued. + * + * @since 2.2.0 + */ do_action( 'sidebar_admin_setup' ); $title = __( 'Widgets' ); @@ -315,7 +320,13 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>

- +
@@ -396,5 +407,11 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {