Make WordPress Core

Changeset 28816


Ignore:
Timestamp:
06/24/2014 12:39:29 AM (10 years ago)
Author:
wonderboymusic
Message:

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

Fixes #28532.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-views.js

    r28752 r28816  
    65426542                data : {
    65436543                    post_ID: media.view.settings.post.id,
    6544                     content: '[embed]' + this.model.get('url') + '[/embed]'
     6544                    shortcode: '[embed]' + this.model.get('url') + '[/embed]'
    65456545                }
    65466546            } ).done( _.bind( this.renderoEmbed, this ) );
Note: See TracChangeset for help on using the changeset viewer.