日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Avada v5.4.4 最新版本破解教程

發布時間:2024/1/1 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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 最新版本破解教程的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。