Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#4511 closed defect (bug) (fixed)

EXTR_SKIP makes wp_mail filter not work

Reported by: takayukister Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2.1
Component: Administration Keywords: filter has-patch
Focuses: Cc:


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

Attachments (3)

wp_mail_1.diff (537 bytes) - added by takayukister 8 years ago.
wp_mail_2.diff (662 bytes) - added by takayukister 8 years ago.
or, how about this?
wp_mail_extr_skip.diff (845 bytes) - added by ryan 8 years ago.

Download all attachments as: .zip

Change History (10)

@takayukister8 years ago

@takayukister8 years ago

or, how about this?

@ryan8 years ago

comment:1 @ryan8 years ago

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

comment:3 @ryan8 years ago

  • Milestone set to 2.2.2
  • Version changed from 2.3 to 2.2.1

comment:4 @foolswisdom8 years ago

  • Milestone changed from 2.2.2 to 2.2.3

comment:5 @Nazgul8 years ago

  • Keywords has-patch added

comment:6 @foolswisdom8 years ago

  • Milestone changed from 2.2.3 to 2.3

comment:7 @westi8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.