Skip to content

Commit

Permalink
*Ensure home uses the active URL scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Mar 13, 2017
1 parent e2dae0c commit 529a9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-rocket-async-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function process_css_buffer( $buffer ) {
if ( ! empty( $wpml_url_filters ) ) {
remove_filter( 'home_url', array( $wpml_url_filters, 'home_url_filter' ), - 10 );
}
$home = home_url();
$home = set_url_scheme( home_url() );
// Get our domain
$domain = parse_url( $home, PHP_URL_HOST );
//Prepare excluded CSS from options page
Expand Down

0 comments on commit 529a9ce

Please sign in to comment.