mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Add comments for temporary hooks. see #26661.
git-svn-id: https://develop.svn.wordpress.org/trunk@26866 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
27352b4e86
commit
ef8e214888
@ -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 ) {
|
||||
<?php
|
||||
echo $sidebar_args['after_widget'];
|
||||
|
||||
//temporary_hook #26661
|
||||
do_action( 'temp_wp_widget_control_after', $sidebar_args, 'noform' !== $has_form );
|
||||
|
||||
return $sidebar_args;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user