Ticket #4511 (closed defect (bug): fixed)

Opened 5 years ago

Last modified 4 years ago

EXTR_SKIP makes wp_mail filter not work

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

Description

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

Attachments

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

Change History

or, how about this?

ryan5 years ago

comment:1   ryan5 years ago

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

comment:3   ryan5 years ago

  • Version changed from 2.3 to 2.2.1
  • Milestone set to 2.2.2
  • Milestone changed from 2.2.2 to 2.2.3
  • Keywords has-patch added
  • Milestone changed from 2.2.3 to 2.3
  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.