mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
f5bda24b70
commit
f6050ce8eb
@ -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 ) );
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user