`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
This commit is contained in:
Scott Taylor 2014-06-24 00:39:29 +00:00
parent f5bda24b70
commit f6050ce8eb
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );
},