WordPress.org

Make WordPress Core

Ticket #22113: 22113.patch

File 22113.patch, 2.3 KB (added by evansolomon, 6 years ago)
  • wp-includes/js/customize-base.js

     
    1 if ( typeof wp === 'undefined' )
    2         var wp = {};
     1window.wp = window.wp || {};
    32
    43(function( exports, $ ){
    54        var api, extend, ctor, inherits,
  • wp-includes/js/customize-loader.js

     
    1 if ( typeof wp === 'undefined' )
    2         var wp = {};
     1window.wp = window.wp || {};
    32
    43(function( exports, $ ){
    54        var api = wp.customize,
  • wp-includes/js/mce-view.js

     
    11// Ensure the global `wp` object exists.
    2 if ( typeof wp === 'undefined' )
    3         var wp = {};
     2window.wp = window.wp || {};
    43
    54// HTML utility functions
    65// ----------------------
  • wp-includes/js/media-models.js

     
    1 if ( typeof wp === 'undefined' )
    2         var wp = {};
     1window.wp = window.wp || {};
    32
    43(function($){
    54        var Attachment, Attachments, Query, compare;
  • wp-includes/js/plupload/wp-plupload.js

     
    1 if ( typeof wp === 'undefined' )
    2         var wp = {};
     1window.wp = window.wp || {};
    32
    43(function( exports, $ ) {
    54        var Uploader;
  • wp-includes/js/shortcode.js

     
    11// Utility functions for parsing and handling shortcodes in Javascript.
    22
    33// Ensure the global `wp` object exists.
    4 if ( typeof wp === 'undefined' )
    5         var wp = {};
     4window.wp = window.wp || {};
    65
    76(function(){
    87        wp.shortcode = {