Bug :sed_mail() bug in Safe mode
Status :Fixed
Severity :Normal
Reporter :Amro 01-07-13 20:09
Updated by :Amro 02-07-13 20:00
CategoryGeneral
Version :173
Frequency :Consistently
Fixed in :175
Details :

Problem http://seditio.org/forums.php?m=posts&q=59&n=last#bottom

Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE

Decision

Find in functions.php function sed_mail() and replace:

        mail($fmail, $subject, $body, $headers, $param); 

on

        if(ini_get('safe_mode')) // fix in 175
        { 
            mail($fmail, $subject, $body, $headers); 
        } 
        else 
        { 
            mail($fmail, $subject, $body, $headers, $param); 
        } 

 

Items affected :functions.php

History and comments :

None