Changeset 47122 for trunk/src/wp-includes/widgets/class-wp-widget-text.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r47055 r47122 62 62 } 63 63 64 // Note that the widgets component in the customizer will also do the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 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(). 65 66 add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) ); 66 67 67 // Note that the widgets component in the customizer will also do the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 68 // Note that the widgets component in the customizer will also do 69 // the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 68 70 add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Text', 'render_control_template_scripts' ) ); 69 71 } … … 122 124 $doc = new DOMDocument(); 123 125 124 // Suppress warnings generated by loadHTML 126 // Suppress warnings generated by loadHTML. 125 127 $errors = libxml_use_internal_errors( true ); 126 128 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged … … 374 376 'text' => '', 375 377 'filter' => false, // For back-compat. 376 'visual' => null, // Must be explicitly defined.378 'visual' => null, // Must be explicitly defined. 377 379 ) 378 380 );
Note: See TracChangeset
for help on using the changeset viewer.