- Timestamp:
- 08/27/2025 10:32:57 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-image.php
r59120 r60681 324 324 sprintf( 325 325 'wp.mediaWidgets.modelConstructors[ %s ].prototype.schema = %s;', 326 wp_json_encode( $this->id_base ),327 wp_json_encode( $exported_schema )326 wp_json_encode( $this->id_base, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 327 wp_json_encode( $exported_schema, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) 328 328 ) 329 329 ); … … 336 336 wp.mediaWidgets.controlConstructors[ %1$s ].prototype.l10n = _.extend( {}, wp.mediaWidgets.controlConstructors[ %1$s ].prototype.l10n, %3$s ); 337 337 ', 338 wp_json_encode( $this->id_base ),339 wp_json_encode( $this->widget_options['mime_type'] ),340 wp_json_encode( $this->l10n )338 wp_json_encode( $this->id_base, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 339 wp_json_encode( $this->widget_options['mime_type'], JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 340 wp_json_encode( $this->l10n, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) 341 341 ) 342 342 );
Note: See TracChangeset
for help on using the changeset viewer.