Opened 21 years ago
Closed 21 years ago
#1188 closed defect (bug) (duplicate)
Sending mails does not work when safe mode activated
| Reported by: | quidditch | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.5 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
If the server use the php safe mode, mails are not sent when a comment is posted even if the option is turned on. It is because in safe mode, you cannot use more than 4 args for a function. I had to erase the $more in this line of the function wp_mail:
return @mail($to, $subject, $message, $headers, $more);
And now it works. What is the use of $more ? Wp_mail does not seem to be documented in the Codex.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)