Make WordPress Core

Ticket #39238: 39238.diff

File 39238.diff, 639 bytes (added by bradyvercher, 8 years ago)
  • src/wp-includes/js/wp-custom-header.js

     
    5454                                        var handler = this.handlers[ id ];
    5555
    5656                                        if ( 'test' in handler && handler.test( settings ) ) {
    57                                                 this.activeHandler = handler.initialize.call( handler, settings );
     57                                                this.activeHandler = handler;
     58                                                handler.initialize.call( handler, settings );
    5859
    5960                                                // Dispatch custom event when the video is loaded.
    6061                                                trigger( document, 'wp-custom-header-video-loaded' );