[wp-trac] [WordPress Trac] #36658: Adding method to reset the mocked phpmailer instance
WordPress Trac
noreply at wordpress.org
Wed May 4 03:48:48 UTC 2016
#36658: Adding method to reset the mocked phpmailer instance
------------------------------------+---------------------------
Reporter: welcher | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37358"]:
{{{
#!CommitTicketReference repository="" revision="37358"
Tests: Introduce `reset_phpmailer_instance()` function.
This function provides a more convenient method for resetting the
PHPMailer instance than the previous technique of reaching into the
global.
Props welcher.
Fixes #36658.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36658#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list