WordPress.org

Make WordPress Core

Opened 9 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:

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

Download all attachments as: .zip

Change History (10)

@takayukister
9 years ago

or, how about this?

#1 @ryan
9 years ago

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

#3 @ryan
9 years ago

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

#4 @foolswisdom
9 years ago

  • Milestone changed from 2.2.2 to 2.2.3

#5 @Nazgul
8 years ago

  • Keywords has-patch added

#6 @foolswisdom
8 years ago

  • Milestone changed from 2.2.3 to 2.3

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