| Name | Size | Mode | Actions |
|---|---|---|---|
| AbstractJSOptimization.php | 6945 | 0644 | editdlrm |
| Combine.php | 21664 | 0644 | editdlrm |
| Minify.php | 8007 | 0644 | editdlrm |
| Subscriber.php | 2076 | 0644 | editdlrm |
/home/vianto5/heredit.mx/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/JS/Combine.php (21664B)
', $html ); foreach ( $combine_scripts as $script ) { $html = str_replace( $script[0], '', $html ); } Logger::info( 'Combined JS file successfully added.', [ 'js combine process', 'url' => $minify_url, ] ); return $html; } /** * Parses found nodes to keep only the ones to combine * * @since 3.1 * * @param Array $scripts scripts corresponding to JS file or content. * @return array */ protected function parse( $scripts ) { $excluded_externals = implode( '|', $this->get_excluded_external_file_path() ); $scripts = array_map( function( $script ) use ( $excluded_externals ) { preg_match( '/