Created
February 21, 2013 18:28
-
-
Save lschatzkin/5006924 to your computer and use it in GitHub Desktop.
Modify Jetpack to work in local environment, no WordPress.com account needed. This is found on line 276 of jetpack.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Is Jetpack active? | |
*/ | |
//public static function is_active() { | |
// return (bool) Jetpack_Data::get_access_token( JETPACK_MASTER_USER ); | |
//} | |
/* modify Jetpack to work for local environment */ | |
public static function is_active() { | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment