WordPress.org

Make WordPress Core

Opened 7 years ago

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

Download all attachments as: .zip

Change History (10)

takayukister7 years ago

takayukister7 years ago

or, how about this?

ryan7 years ago

comment:1 ryan7 years ago

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

comment:3 ryan7 years ago

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

comment:4 foolswisdom7 years ago

  • Milestone changed from 2.2.2 to 2.2.3

comment:5 Nazgul7 years ago

  • Keywords has-patch added

comment:6 foolswisdom7 years ago

  • Milestone changed from 2.2.3 to 2.3

comment:7 westi7 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.