rveitch
11/21/2015 - 7:07 PM

Jetpack on Local Hack

Jetpack on Local Hack

<?php

// Instructions: Open class.jetpack.php, search for:

/**
* Is Jetpack active?
*/
public static function is_active() {
    return (bool) Jetpack_Data::get_access_token( JETPACK_MASTER_USER );
}

// and replace with this:

/**
* Is Jetpack active?
*/
public static function is_active() {
    return true;
}