From cce9d251a495a2cc917d8e3877be7fd734dee7b9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 23 Dec 2013 00:48:11 +0000 Subject: [PATCH] Add comments for temporary hooks. see #26661. Built from https://develop.svn.wordpress.org/trunk@26866 git-svn-id: http://core.svn.wordpress.org/trunk@26752 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/widgets.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php index 6890e3f397..d6ad4ad1a8 100644 --- a/wp-admin/includes/widgets.php +++ b/wp-admin/includes/widgets.php @@ -188,6 +188,7 @@ function wp_widget_control( $sidebar_args ) { $widget_title = esc_html( strip_tags( $sidebar_args['widget_name'] ) ); $has_form = 'noform'; + //temporary_hook #26661 do_action( 'temp_wp_widget_control_before', $sidebar_args ); echo $sidebar_args['before_widget']; ?> @@ -240,6 +241,7 @@ function wp_widget_control( $sidebar_args ) {