[wp-trac] [WordPress Trac] #47939: recovery_mode_email filter is not firing

WordPress Trac noreply at wordpress.org
Tue Aug 27 17:51:34 UTC 2019


#47939: recovery_mode_email filter is not firing
-------------------------------+------------------------------
 Reporter:  mubashir.iqbal     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Mail               |     Version:  5.2
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by garrett-eclipse):

 * keywords:   => reporter-feedback
 * version:  5.2.2 => 5.2


Comment:

 Hi @mubashiriqbal thanks for the report.

 The array should be passed directly to the wp_mail call if the filter is
 firing so am unsure if the issue is with the filter itself.

 I was wondering if your Theme where you have this code is where you're
 triggering the fatal error? As this could explain why your theme code
 isn't firing. If you move the code into a plugin or mu-plugin does the
 issue persist? It might be the code doesn't run as the fatal error being
 caught is stopping execution of your theme functions.

 Thank you
 P.S. You can also use the `RECOVERY_MODE_EMAIL` wp-config.php constant.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47939#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list