Skip to content

Conversation

@aaemnnosttv
Copy link
Contributor

This PR updates the bundled test implementation of wp_mail to work slightly closer to the real implementation.

Most importantly, it returns true to indicate mail was successfully sent (this is how the function worked before as well). It also supports a potential array of recipients, as supported by the core function to avoid a potential array-to-string conversion error in the event an array is passed.

@aaemnnosttv aaemnnosttv requested a review from a team as a code owner June 6, 2021 21:44
@schlessera schlessera added this to the 3.0.15 milestone Jun 7, 2021
@schlessera schlessera merged commit 8443ace into wp-cli:master Jun 7, 2021
@aaemnnosttv aaemnnosttv deleted the patch-2 branch June 7, 2021 07:23
schlessera added a commit that referenced this pull request Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants