Ticket #46387: 46387.3.diff
File 46387.3.diff, 508 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/l10n.php
diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index bd57378a5d..b24559c5e1 100644
a b function load_script_textdomain( $handle, $domain = 'default', $path = null ) { 947 947 948 948 // If the host is the same or it's a relative URL. 949 949 if ( 950 isset( $content_url['path'] ) && 950 951 strpos( $src_url['path'], $content_url['path'] ) === 0 && 951 952 ( ! isset( $src_url['host'] ) || $src_url['host'] === $content_url['host'] ) 952 953 ) {