Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4511 closed defect (bug) (fixed)

EXTR_SKIP makes wp_mail filter not work

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

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

Download all attachments as: .zip

Change History (10)

@takayukister
17 years ago

or, how about this?

#1 @ryan
17 years ago

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

#3 @ryan
17 years ago

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

#4 @foolswisdom
17 years ago

  • Milestone changed from 2.2.2 to 2.2.3

#5 @Nazgul
17 years ago

  • Keywords has-patch added

#6 @foolswisdom
17 years ago

  • Milestone changed from 2.2.3 to 2.3

#7 @westi
17 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.