Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#4511 closed defect (bug) (fixed)

EXTR_SKIP makes wp_mail filter not work

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

Description

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 19 years ago.
wp_mail_2.diff (662 bytes ) - added by takayukister 19 years ago.
or, how about this?
wp_mail_extr_skip.diff (845 bytes ) - added by ryan 19 years ago.

Download all attachments as: .zip

Change History (10)

@takayukister
19 years ago

or, how about this?

#1 @ryan
19 years ago

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

#3 @ryan
19 years ago

  • Milestone2.2.2
  • Version 2.32.2.1

#4 @foolswisdom
19 years ago

  • Milestone 2.2.22.2.3

#5 @Nazgul
19 years ago

  • Keywords has-patch added

#6 @foolswisdom
19 years ago

  • Milestone 2.2.32.3

#7 @westi
19 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.