Skip to content

Commit

Permalink
Merge pull request #148 from wp-media/fix/145-wpml-domain-mapping
Browse files Browse the repository at this point in the history
Fixes #145: missing filter for JS minification in footer
  • Loading branch information
GeekPress authored Sep 7, 2016
2 parents e33cb82 + 342909a commit 701294a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/front/minify.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ function __rocket_insert_minify_js_in_footer() {

$i = 0;
foreach( $files as $file ) {
/** This filter is documented in wp-includes/class.wp-scripts.php */
$file = apply_filters( 'script_loader_src', $file );
list( $file_host, $file_path ) = get_rocket_parse_url( $file );

// Check if its an external file
Expand Down

0 comments on commit 701294a

Please sign in to comment.