- 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-custom-html.php
r47055 r47122 71 71 wp_add_inline_script( 'custom-html-widgets', sprintf( 'wp.customHtmlWidgets.idBases.push( %s );', wp_json_encode( $this->id_base ) ) ); 72 72 73 // Note that the widgets component in the customizer will also do the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts(). 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(). 74 75 add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) ); 75 76 76 // Note that the widgets component in the customizer will also do the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 77 // Note that the widgets component in the customizer will also do 78 // the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts(). 77 79 add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Custom_HTML', 'render_control_template_scripts' ) ); 78 80 … … 226 228 'singular' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 1 ), 227 229 /* translators: %d: Error count. */ 228 'plural' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. 230 'plural' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ), 231 // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. 229 232 ), 230 233 );
Note: See TracChangeset
for help on using the changeset viewer.