Skip to content

Commit

Permalink
Add empty second parameter for script_loader_src to prevent the warni…
Browse files Browse the repository at this point in the history
…ng on Enfold
  • Loading branch information
remyperona committed Sep 17, 2016
1 parent 33834f8 commit 0af4e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/front/minify.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ 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 );
$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 0af4e59

Please sign in to comment.