升级WordPress提示以下失败信息:
下载失败。: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
解决办法
找到主题文件functions.php文件,在最下方添加代码:
add_action('http_request_args', 'jkudish_http_request_args', 10, 2);function jkudish_http_request_args($args, $url) {$args['sslverify'] = false;return $args;}
升级成功!
发表评论