Avada v5.4.4 最新版本破解教程
主題資源下載:https://gitee.com/jiuciyu/wordpress_theme_avada/attach_files
1、找到\wp-content\themes\Avada\includes\lib\inc\class-fusion-envato-api.php文件,注釋掉如下兩行代碼
$response_code = wp_remote_retrieve_response_code( $response );
$response_message = wp_remote_retrieve_response_message( $response );
2、找到\wp-content\themes\Avada\includes\lib\inc\class-fusion-product-registration.php
第一處:
if ( is_wp_error( $products ) ) {
// 401 ( unauthorized ) and 403 ( forbidden ) mean the token is invalid, apart from that Envato API is down.
if ( 401 !== $products->get_error_code() && 403 !== $products->get_error_code() && '' !== $products->get_error_message() ) {
set_site_transient( 'fusion_envato_api_down', true, 600 );?//將600修改成0即可
}
return false;
}
第二處:
public function is_registered() {// Is the product registered?
if ( isset( $this->registered[ $this->product_id ] ) && true === $this->registered[ $this->product_id ] ) {
return true;
}
// Is the Envato API down?
if ( get_site_transient( 'fusion_envato_api_down' ) ) {
return true;
}
// Fallback to false.//將return值返回為true
return true;
}
ok,完成之后,你會驚喜的發現,已經成功了,繞過了驗證。
注意:本機環境下使用phpstudy集成環境的不用試了,請一定要開啟WP遠程獲取、WP 遠程發布,對此我們推薦您使用wamp集成環
境。只有當Avada的系統狀態監測,WP遠程獲取、WP 遠程發布打鉤才能正確的執行
總結
以上是生活随笔為你收集整理的Avada v5.4.4 最新版本破解教程的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 二手交易商城开发,节约、高效的回收平台
- 下一篇: 5.STM32F429 学习emWin