- Seller
- #61
NoIs this a BETA?
NoIs this a BETA?
inc/engine/license/api/UserClient.php
public function get_user_data() {
return true;
}
/**
* Gets the user data from the user endpoint
*
* @since 3.7.3
*
* @return bool|object
*/
private function get_raw_user_data() {
return true;
}
inc/engine/Optmization/RUCSS/Admin/Subscriber.php
//line 418
public function display_wrong_license_notice() {
$transient = get_transient( 'wp_rocket_no_licence' );
return true;
}
//line 677
public function disable_russ_on_wrong_license() {
if ( false === get_transient( 'wp_rocket_no_licence' ) ) {
return false;
}
return null;
}
//inc/Engine/Optimization/RUCSS/Frontend/ApiClient.php
//line 53
if ( (key_exists( 'code', $result ) && 401 === $result['code']) ) {
set_transient( 'wp_rocket_no_licence', true, WEEK_IN_SECONDS );
update_rocket_option( 'remove_unused_css', 1 );
}
//views/settings/page-sections/dashboard
//add at line 85
$data['customer_data']['is_from_one_dot_com'] = true;
if ( $data['customer_data']['is_from_one_dot_com'] ) : ?>
No worries will check and upload againnot working anymore.
WP Rocket:
We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an active license to use the Remove Unused CSS feature and further improve your website's performance.
Click here to get a WP Rocket single license at 10% off!
Ok I did an update to the code.No worries will check and upload again
What you changed? It works now ?Ok I did an update to the code.
inc/engine/license/api/UserClient.php public function get_user_data() { return true; } /** * Gets the user data from the user endpoint * * @since 3.7.3 * * @return bool|object */ private function get_raw_user_data() { return true; }
inc/engine/Optmization/RUCSS/Admin/Subscriber.php //line 418 public function display_wrong_license_notice() { $transient = get_transient( 'wp_rocket_no_licence' ); return true; } //line 677 public function disable_russ_on_wrong_license() { if ( false === get_transient( 'wp_rocket_no_licence' ) ) { return false; } return null; }
//inc/Engine/Optimization/RUCSS/Frontend/ApiClient.php //line 53 if ( (key_exists( 'code', $result ) && 401 === $result['code']) ) { set_transient( 'wp_rocket_no_licence', true, WEEK_IN_SECONDS ); update_rocket_option( 'remove_unused_css', 1 ); } //views/settings/page-sections/dashboard //add at line 85 $data['customer_data']['is_from_one_dot_com'] = true; if ( $data['customer_data']['is_from_one_dot_com'] ) : ?>
Any screenshot? It would helpStill not working
MainWP Rocket Extension
|
|
Divi Rocket
|
|
Content Rocket
|