`wp.mce.embedView.fetch()` and `wp.media.view.EmbedLink.fetch()` need to pass the same parameters.

Fixes #28532.

Built from https://develop.svn.wordpress.org/trunk@28816


git-svn-id: http://core.svn.wordpress.org/trunk@28623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-06-24 00:40:14 +00:00
parent 04933ab8cf
commit 43320a5825
2 changed files with 2 additions and 2 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 ) );
},

File diff suppressed because one or more lines are too long