- Timestamp:
- 03/15/2023 11:36:52 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php
r55276 r55553 69 69 } 70 70 $this->registered = true; 71 72 wp_add_inline_script( 'custom-html-widgets', sprintf( 'wp.customHtmlWidgets.idBases.push( %s );', wp_json_encode( $this->id_base ) ) );73 71 74 72 // Note that the widgets component in the customizer will also do … … 217 215 218 216 wp_enqueue_script( 'custom-html-widgets' ); 217 wp_add_inline_script( 'custom-html-widgets', sprintf( 'wp.customHtmlWidgets.idBases.push( %s );', wp_json_encode( $this->id_base ) ) ); 218 219 219 if ( empty( $settings ) ) { 220 220 $settings = array(
Note: See TracChangeset
for help on using the changeset viewer.