We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c14a5c commit 7e8f200Copy full SHA for 7e8f200
plugins/jquery-filters.php
@@ -38,7 +38,8 @@
38
// Ensure that the local port is used for template assets, if it exists.
39
add_filter( 'theme_root_uri', function( $value ) {
40
if ( JQUERY_STAGING === 'local' ) {
41
- $siteurl = 'http://' . strtr( JQUERY_STAGING_FORMAT, [ '%s' => JQUERY_LIVE_SITE ] );
+ // Don't specify http vs https here, as the site may be accessed via either.
42
+ $siteurl = '//' . strtr( JQUERY_STAGING_FORMAT, [ '%s' => JQUERY_LIVE_SITE ] );
43
$value = $siteurl . '/wp-content/themes';
44
}
45
return $value;
0 commit comments