- Timestamp:
- 08/27/2025 10:32:57 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-video.php
r56597 r60681 200 200 sprintf( 201 201 'wp.mediaWidgets.modelConstructors[ %s ].prototype.schema = %s;', 202 wp_json_encode( $this->id_base ),203 wp_json_encode( $exported_schema )202 wp_json_encode( $this->id_base, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 203 wp_json_encode( $exported_schema, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) 204 204 ) 205 205 ); … … 212 212 wp.mediaWidgets.controlConstructors[ %1$s ].prototype.l10n = _.extend( {}, wp.mediaWidgets.controlConstructors[ %1$s ].prototype.l10n, %3$s ); 213 213 ', 214 wp_json_encode( $this->id_base ),215 wp_json_encode( $this->widget_options['mime_type'] ),216 wp_json_encode( $this->l10n )214 wp_json_encode( $this->id_base, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 215 wp_json_encode( $this->widget_options['mime_type'], JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 216 wp_json_encode( $this->l10n, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) 217 217 ) 218 218 );
Note: See TracChangeset
for help on using the changeset viewer.