Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions js/cloudinary-media-library.js

This file was deleted.

3 changes: 1 addition & 2 deletions php/class-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -2193,8 +2193,7 @@ public function editor_assets() {

// External assets.
wp_enqueue_script( 'cloudinary-media-modal', $this->plugin->dir_url . '/js/media-modal.js', array(), $this->plugin->version, true );
// Self-hosted to avoid WP 7.1 stamping crossorigin="anonymous" on this cross-origin CDN script, which the CDN doesn't send CORS headers for. See #1254.
wp_enqueue_script( 'cloudinary-media-library', $this->plugin->dir_url . '/js/cloudinary-media-library.js', $deps, $this->plugin->version, true );
wp_enqueue_script( 'cloudinary-media-library', CLOUDINARY_ENDPOINTS_MEDIA_LIBRARY, $deps, $this->plugin->version, true );
wp_enqueue_script( 'cloudinary-terms-order', $this->plugin->dir_url . '/js/terms-order.js', array( 'jquery', 'wp-i18n' ), $this->plugin->version, true );
wp_enqueue_style( 'cloudinary' );
$params = array(
Expand Down
Loading