September 13, 2017 at 2:21 pm
#19257
Edie
Participant
Update: I replaced:
`
function rocket_valid_key() {
if ( ! $rocket_secret_key = get_rocket_option( ‘secret_key’ ) ) {
return false;
}
return 8 === strlen( get_rocket_option( ‘consumer_key’ ) ) && hash_equals( $rocket_secret_key, hash( ‘crc32’, get_rocket_option( ‘consumer_email’ ) ) );
}
`
with:
`
function rocket_valid_key() {
// BEGIN: DISABLE LICENSE CHECK
return 8;
// END: DISABLE LICENSE CHECK
}
`
And it appears to work. I’ll report back if it doesn’t.