Ticket #4511 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

EXTR_SKIP makes wp_mail filter not work

Reported by: takayukister Assigned to: anonymous
Priority: normal Milestone: 2.3
Component: Administration Version: 2.2.1
Severity: normal Keywords: filter has-patch
Cc:

Description

wp_mail filter hook used in wp_mail() no longer has effect because EXTR_SKIP reverts all changes.

Attachments

wp_mail_1.diff (0.5 kB) - added by takayukister on 06/22/07 13:44:29.
wp_mail_2.diff (0.6 kB) - added by takayukister on 06/22/07 13:45:39.
or, how about this?
wp_mail_extr_skip.diff (0.8 kB) - added by ryan on 06/22/07 16:28:20.

Change History

06/22/07 13:44:29 changed by takayukister

  • attachment wp_mail_1.diff added.

06/22/07 13:45:39 changed by takayukister

  • attachment wp_mail_2.diff added.

or, how about this?

06/22/07 16:28:20 changed by ryan

  • attachment wp_mail_extr_skip.diff added.

06/22/07 16:28:40 changed by ryan

If we move the extract to the top, we can remove the EXTR_SKIP. See patch.

06/26/07 20:54:11 changed by markjaquith

+1

06/27/07 23:02:20 changed by ryan

  • version changed from 2.3 to 2.2.1.
  • milestone set to 2.2.2.

08/09/07 19:13:39 changed by foolswisdom

  • milestone changed from 2.2.2 to 2.2.3.

08/14/07 17:20:12 changed by Nazgul

  • keywords changed from filter to filter has-patch.

08/29/07 17:59:57 changed by foolswisdom

  • milestone changed from 2.2.3 to 2.3.

09/11/07 20:49:29 changed by westi

  • status changed from new to closed.
  • resolution set to fixed.

(In [6084]) Allow the wp_mail filter to change the passed data. Fixes #4511 props ryan.