- Timestamp:
- 08/27/2025 10:32:57 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-gallery.php
r60325 r60681 149 149 sprintf( 150 150 'wp.mediaWidgets.modelConstructors[ %s ].prototype.schema = %s;', 151 wp_json_encode( $this->id_base ),152 wp_json_encode( $exported_schema )151 wp_json_encode( $this->id_base, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 152 wp_json_encode( $exported_schema, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) 153 153 ) 154 154 ); … … 161 161 _.extend( wp.mediaWidgets.controlConstructors[ %1$s ].prototype.l10n, %3$s ); 162 162 ', 163 wp_json_encode( $this->id_base ),164 wp_json_encode( $this->widget_options['mime_type'] ),165 wp_json_encode( $this->l10n )163 wp_json_encode( $this->id_base, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 164 wp_json_encode( $this->widget_options['mime_type'], JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ), 165 wp_json_encode( $this->l10n, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) 166 166 ) 167 167 );
Note: See TracChangeset
for help on using the changeset viewer.