Remove temporary hooks added in [26865].

fixes #26661.
Built from https://develop.svn.wordpress.org/trunk@27324


git-svn-id: http://core.svn.wordpress.org/trunk@27176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-02-28 00:45:16 +00:00
parent f291730aec
commit e7467f9b44

View File

@ -188,9 +188,6 @@ 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']; ?>
<div class="widget-top">
<div class="widget-title-action">
@ -241,8 +238,5 @@ function wp_widget_control( $sidebar_args ) {
<?php
echo $sidebar_args['after_widget'];
//temporary_hook #26661
do_action( 'temp_wp_widget_control_after', $sidebar_args, 'noform' !== $has_form );
return $sidebar_args;
}