WordPress.org

Make WordPress Core

Ticket #40658: 40658.2.diff

File 40658.2.diff, 572 bytes (added by westonruter, 2 years ago)
  • src/wp-includes/js/customize-selective-refresh.js

    diff --git src/wp-includes/js/customize-selective-refresh.js src/wp-includes/js/customize-selective-refresh.js
    index ee96d295df..4c4fa0d9cf 100644
    wp.customize.selectiveRefresh = ( function( $, api ) { 
    457457                                if ( 'undefined' !== typeof console && console.error ) {
    458458                                        console.error( partial.id, error );
    459459                                }
     460                                partial.fallback( error, [ placement ] );
    460461                        }
    461462                        /* jshint ignore:start */
    462463                        document.write = self.orginalDocumentWrite;