WordPress.org

Make WordPress Core

Ticket #50716: 50716.diff

File 50716.diff, 594 bytes (added by david.binda, 9 months ago)
  • src/wp-includes/class-phpmailer.php

     
    1212        );
    1313}
    1414
    15 require __DIR__ . '/PHPMailer/PHPMailer.php';
    16 require __DIR__ . '/PHPMailer/Exception.php';
     15require_once __DIR__ . '/PHPMailer/PHPMailer.php';
     16require_once __DIR__ . '/PHPMailer/Exception.php';
    1717
    1818class_alias( PHPMailer\PHPMailer\PHPMailer::class, 'PHPMailer' );
    1919class_alias( PHPMailer\PHPMailer\Exception::class, 'phpmailerException' );