Changeset 56196
- Timestamp:
- 07/10/2023 11:19:12 PM (14 months ago)
- Location:
- trunk/src/wp-includes/widgets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r55553 r56196 70 70 $this->registered = true; 71 71 72 // Note that the widgets component in the customizer will also do 73 // the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 72 /* 73 * Note that the widgets component in the customizer will also do 74 * the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 75 */ 74 76 add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) ); 75 77 76 // Note that the widgets component in the customizer will also do 77 // the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 78 /* 79 * Note that the widgets component in the customizer will also do 80 * the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 81 */ 78 82 add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Custom_HTML', 'render_control_template_scripts' ) ); 79 83 -
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r53302 r56196 108 108 $this->registered = true; 109 109 110 // Note that the widgets component in the customizer will also do 111 // the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 110 /* 111 * Note that the widgets component in the customizer will also do 112 * the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 113 */ 112 114 add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) ); 113 115 … … 116 118 } 117 119 118 // Note that the widgets component in the customizer will also do 119 // the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 120 /* 121 * Note that the widgets component in the customizer will also do 122 * the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 123 */ 120 124 add_action( 'admin_footer-widgets.php', array( $this, 'render_control_template_scripts' ) ); 121 125 -
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r55988 r56196 61 61 } 62 62 63 // Note that the widgets component in the customizer will also do 64 // the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 63 /* 64 * Note that the widgets component in the customizer will also do 65 * the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 66 */ 65 67 add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) ); 66 68 67 // Note that the widgets component in the customizer will also do 68 // the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 69 /* 70 * Note that the widgets component in the customizer will also do 71 * the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 72 */ 69 73 add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Text', 'render_control_template_scripts' ) ); 70 74 }
Note: See TracChangeset
for help on using the changeset viewer.