[wp-trac] Re: [WordPress Trac] #5235: Add Pre-flight checks to install

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 20 01:24:40 GMT 2007


#5235: Add Pre-flight checks to install
-------------------------+--------------------------------------------------
 Reporter:  westi        |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.5      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Comment (by DD32):

 AFAIK WordPress still uses mail() by default unless a plugin is loaded to
 replace it.

 One check which would be good is to check if mail() is disabled.

 {{{
 if( null === @mail('','','') )
 }}}

 false will be raised if mail() is available, as the email is
 incorrect.[[BR]]
 null will be raised if mail() is disabled.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5235#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list