mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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:
parent
04933ab8cf
commit
43320a5825
@ -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 ) );
|
||||
},
|
||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user