Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide the ability to disable LESS compilation on all requests #74

Merged
merged 2 commits into from Mar 17, 2015

Conversation

joehoyle
Copy link
Collaborator

@sanchothefat I added the ability to override the less compiling all the time, so we can do:

add_filter( 'pre_option_wp_less_always_compile_less', function() {
    return 0;
} );

This means only the vars and version of the LESS file is used to check if the file should be regenerated. I make this off your md5 pull-request as I think we want that too still.

roborourke added a commit that referenced this pull request Mar 17, 2015
Provide the ability to disable LESS compilation on all requests
@roborourke roborourke merged commit 62fb8fd into master Mar 17, 2015
@roborourke roborourke deleted the disable-regeneration branch March 17, 2015 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants