WordPress中phpmailer文件有点错误
WordPress2.7.1中的phpmailer文件是./wp-includes/class-phpmailer.php
在其513行有如下函数
public function SmtpSend($header, $body) { include_once($this->PluginDir . 'class.smtp.php'); $error = ''; $bad_rcpt = array(); if(!$this->SmtpConnect()) { return false; } |
但文件class.smtp.php是不存在的,实际上该文件被命名成了class-smtp.php
改成
include_once($this->PluginDir . 'class-smtp.php'); |
就可以了
转载请注明:转载自DarkIces.com
本文链接地址:http://dki.me/0e
相关文章: