WordPress.org

Make WordPress Core

Changeset 48058


Ignore:
Timestamp:
06/16/2020 01:57:05 PM (14 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/mock-mailer.php

    r48033 r48058  
    11<?php
    2 require_once ABSPATH . '/wp-includes/PHPMailer/PHPMailer.php';
    3 require_once ABSPATH . '/wp-includes/PHPMailer/Exception.php';
     2require_once ABSPATH . 'wp-includes/PHPMailer/PHPMailer.php';
     3require_once ABSPATH . 'wp-includes/PHPMailer/Exception.php';
    44
    55class MockPHPMailer extends PHPMailer\PHPMailer\PHPMailer {
Note: See TracChangeset for help on using the changeset viewer.