WordPress.org

Make WordPress Core

Ticket #52369: 52369.diff

File 52369.diff, 507 bytes (added by oellin, 3 months ago)
  • src/wp-includes/class-smtp.php

    diff --git a/src/wp-includes/class-smtp.php b/src/wp-includes/class-smtp.php
    index 7b93997f73..524e655250 100644
    a b _deprecated_file( 
    1010        __( 'The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' )
    1111);
    1212
    13 require __DIR__ . '/PHPMailer/SMTP.php';
     13require_once __DIR__ . '/PHPMailer/SMTP.php';
    1414
    1515class_alias( PHPMailer\PHPMailer\SMTP::class, 'SMTP' );