Maison >développement back-end >tutoriel php >安装wordpress后,提示的源码异常
安装wordpress后,提示的源码错误
刚刚把wordpress4.01上传到主机,打开域名,出现这么一句话:
Fatal error: Call to undefined function request_filesystem_credentials() in /data/home/htdocs/wp-admin/includes/class-wp-upgrader-skins.php on line 47
找到源码如下
public function request_filesystem_credentials($error = false) {<br /> $url = $this->options['url'];<br /> $context = $this->options['context'];<br /> if ( !empty($this->options['nonce']) )<br /> $url = wp_nonce_url($url, $this->options['nonce']);<br /> return request_filesystem_credentials($url, '', $error, $context); //Possible to bring inline, Leaving as is for now.<br /> }<br />