Fixed #114 + updates to wp_enqueue_script and style
This commit is contained in:
@@ -57,6 +57,8 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) {
|
||||
add_filter('bloginfo', 'roots_clean_assets');
|
||||
add_filter('stylesheet_directory_uri', 'roots_clean_assets');
|
||||
add_filter('template_directory_uri', 'roots_clean_assets');
|
||||
add_filter('script_loader_src', 'roots_clean_plugins');
|
||||
add_filter('style_loader_src', 'roots_clean_plugins');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user