WordPress.org

Make WordPress Core

Ticket #51652: 51652.diff

File 51652.diff, 656 bytes (added by ribaricplusplus, 8 months ago)
  • src/js/_enqueues/wp/customize/base.js

    diff --git a/src/js/_enqueues/wp/customize/base.js b/src/js/_enqueues/wp/customize/base.js
    index 8fd2470..e6aeb8b 100644
    a b window.wp = window.wp || {}; 
    112112         * @param object staticProps Properties to apply directly to the class.
    113113         * @return child The subclass.
    114114         */
    115         api.Class.extend = function( protoProps, classProps ) {
    116                 var child = inherits( this, protoProps, classProps );
     115        api.Class.extend = function( protoProps, staticProps ) {
     116                var child = inherits( this, protoProps, staticProps );
    117117                child.extend = this.extend;
    118118                return child;
    119119        };