Build/Test Tools: Prevent double /
s when including PHPMailer files.
`ABSPATH` includes a trailing slash already. Follow up of [48033]. Props desrosj. See #50377, #41750. git-svn-id: https://develop.svn.wordpress.org/trunk@48058 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
727249cfc6
commit
6334056f65
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once ABSPATH . '/wp-includes/PHPMailer/PHPMailer.php';
|
||||
require_once ABSPATH . '/wp-includes/PHPMailer/Exception.php';
|
||||
require_once ABSPATH . 'wp-includes/PHPMailer/PHPMailer.php';
|
||||
require_once ABSPATH . 'wp-includes/PHPMailer/Exception.php';
|
||||
|
||||
class MockPHPMailer extends PHPMailer\PHPMailer\PHPMailer {
|
||||
var $mock_sent = array();
|
||||
|
Loading…
Reference in New Issue
Block a user