From f6050ce8ebdf5b8222b1563fe9dbece0f6ca63d0 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 24 Jun 2014 00:39:29 +0000 Subject: [PATCH] `wp.mce.embedView.fetch()` and `wp.media.view.EmbedLink.fetch()` need to pass the same parameters. Fixes #28532. git-svn-id: https://develop.svn.wordpress.org/trunk@28816 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/media-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index 03b89aed9c..f0f70e99d8 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/wp-includes/js/media-views.js @@ -6541,7 +6541,7 @@ wp.ajax.send( 'parse-embed', { data : { post_ID: media.view.settings.post.id, - content: '[embed]' + this.model.get('url') + '[/embed]' + shortcode: '[embed]' + this.model.get('url') + '[/embed]' } } ).done( _.bind( this.renderoEmbed, this ) ); },