WordPress.org

Make WordPress Core

Ticket #45469: 45469.patch

File 45469.patch, 577 bytes (added by ocean90, 7 months ago)
  • src/wp-includes/script-loader.php

     
    185185                        // at the `document.write`. Its caveat of synchronous mid-stream
    186186                        // blocking write is exactly the behavior we need though.
    187187                        'document.write( \'<script src="' .
    188                         esc_url( $scripts->registered[ $handle ]->src ) .
     188                        esc_url( $scripts->base_url . $scripts->registered[ $handle ]->src ) .
    189189                        '"></scr\' + \'ipt>\' );'
    190190                );
    191191        }