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