sitepoint / wp_theme_basetheme

Base theme for WordPress components
9 stars 1 forks source link

Plugin territory: Removing script/style version #22

Closed justintadlock closed 8 years ago

justintadlock commented 8 years ago

These filters in functions.php should be left to plugins:

add_filter( 'style_loader_src', 'sitepointbasetheme_remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'sitepointbasetheme_remove_cssjs_ver', 10, 2 );

Removing the version does nothing to help the user. However, it messes up cache-busting when plugins update with new scripts/styles.

mrlagmer commented 8 years ago

Closed by #49