Opened 10 months ago
Closed 9 months ago
#64348 closed defect (bug) (fixed)
The `$embeds` element is missing from the `wp_mail_succeeded` filter
| Reported by: | johnbillion | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.9.1 |
| Component: | Version: | 6.9 | |
| Severity: | normal | Keywords: | good-first-bug has-patch commit fixed-major dev-reviewed |
| Cc: | Focuses: |
Description
In [60698] the documentation for the wp_mail_succeeded filter was updated to include the $embeds element in its $mail_data argument, but this element is not actually included.
The $embeds element should be added to this array.
Attachments (2)
Change History (16)
#1
@
10 months ago
- Keywords has-patch added; needs-patch removed
Title:
Fix missing $embeds element in $mail_data for wp_mail_succeeded filter
Description:
This patch resolves a bug where the $embeds element is missing from the $mail_data array when the wp_mail_succeeded filter is applied. Although WordPress documentation for version 6.9 had been updated to reflect the inclusion of the $embeds element in the $mail_data argument, the actual code was not updated, causing the $embeds element to be absent.
This ticket was mentioned in PR #10594 on WordPress/wordpress-develop by @iflairwebtechnologies.
10 months ago
#2
#3
@
10 months ago
- Keywords changes-requested added
- Priority low → normal
Nice catch @johnbillion
It's so weird, I have notifications enabled for this component, but I was not notified when this was opened. I'm going to look into it, and report in meta.
@iflairwebtechnologies check Github.
@westonruter commented on PR #10594:
10 months ago
#4
I've sent you a PR to add a fix to this.
#10
@
10 months ago
- Keywords fixed-major added
- Resolution fixed
- Status closed → reopened
Re-opening for 6.9 backport consideration.
#11
follow-up:
↓ 12
@
9 months ago
@since annotations for the filter changes were missed during the 6.9.0 cycle. I think it would be good to include those while doing a fast-follow. See 64348-docs.diff.
#12
in reply to: ↑ 11
@
9 months ago
Replying to peterwilsoncc:
@sinceannotations for the filter changes were missed during the 6.9.0 cycle. I think it would be good to include those while doing a fast-follow. See 64348-docs.diff.
@peterwilsoncc It looks like a superset of this this ended up getting committed by @johnbillion in [61386]?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed : The
$embedselement issue