[wp-trac] [WordPress Trac] #15594: make pluggable the multisite/"wpmu" mails

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 26 22:16:13 UTC 2010


#15594: make pluggable the multisite/"wpmu" mails
-----------------------------+------------------------------
 Reporter:  arena            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Mail             |     Version:  3.1
 Severity:  minor            |  Resolution:
 Keywords:  2nd-opinion      |
-----------------------------+------------------------------

Comment (by arena):

 If i was to replace every mention of "pluggable" with "Filterable" (ie.
 apply_filters(..)), would that be correct arena?

 Looks good to me like this is done with filter 'retrieve_password_message'
 in wp-login.php


 {{{
         $message = apply_filters('retrieve_password_message', $message,
 $key);

         if ( $message && !wp_mail($user_email, $title, $message) )
                 wp_die( __('The e-mail could not be sent.') . "<br />\n" .
 __('Possible reason: your host may have disabled the mail() function...')
 );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15594#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list