mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174], [56175], [56176], [56177], [56178], [56179], [56180], [56191], [56192], [56193], [56194], [56195]. Props costdev, audrasjb. See #58459. Built from https://develop.svn.wordpress.org/trunk@56196 git-svn-id: http://core.svn.wordpress.org/trunk@55708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
58ebfc61f1
commit
8c6e54b2f7
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-beta3-56195';
|
||||
$wp_version = '6.3-beta3-56196';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -69,12 +69,16 @@ class WP_Widget_Custom_HTML extends WP_Widget {
|
||||
}
|
||||
$this->registered = true;
|
||||
|
||||
// Note that the widgets component in the customizer will also do
|
||||
// the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
|
||||
/*
|
||||
* Note that the widgets component in the customizer will also do
|
||||
* the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
|
||||
*/
|
||||
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
|
||||
|
||||
// Note that the widgets component in the customizer will also do
|
||||
// the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
|
||||
/*
|
||||
* Note that the widgets component in the customizer will also do
|
||||
* the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
|
||||
*/
|
||||
add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Custom_HTML', 'render_control_template_scripts' ) );
|
||||
|
||||
// Note this action is used to ensure the help text is added to the end.
|
||||
|
@ -107,16 +107,20 @@ abstract class WP_Widget_Media extends WP_Widget {
|
||||
}
|
||||
$this->registered = true;
|
||||
|
||||
// Note that the widgets component in the customizer will also do
|
||||
// the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
|
||||
/*
|
||||
* Note that the widgets component in the customizer will also do
|
||||
* the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
|
||||
*/
|
||||
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
|
||||
|
||||
if ( $this->is_preview() ) {
|
||||
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_preview_scripts' ) );
|
||||
}
|
||||
|
||||
// Note that the widgets component in the customizer will also do
|
||||
// the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
|
||||
/*
|
||||
* Note that the widgets component in the customizer will also do
|
||||
* the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
|
||||
*/
|
||||
add_action( 'admin_footer-widgets.php', array( $this, 'render_control_template_scripts' ) );
|
||||
|
||||
add_filter( 'display_media_states', array( $this, 'display_media_state' ), 10, 2 );
|
||||
|
@ -60,12 +60,16 @@ class WP_Widget_Text extends WP_Widget {
|
||||
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_preview_scripts' ) );
|
||||
}
|
||||
|
||||
// Note that the widgets component in the customizer will also do
|
||||
// the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
|
||||
/*
|
||||
* Note that the widgets component in the customizer will also do
|
||||
* the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
|
||||
*/
|
||||
add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );
|
||||
|
||||
// Note that the widgets component in the customizer will also do
|
||||
// the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
|
||||
/*
|
||||
* Note that the widgets component in the customizer will also do
|
||||
* the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
|
||||
*/
|
||||
add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Text', 'render_control_template_scripts' ) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user