Changeset 48035 for trunk/src/wp-includes/class-phpmailer.php
- Timestamp:
- 06/12/2020 09:40:52 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-phpmailer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-phpmailer.php
r48034 r48035 5 5 */ 6 6 if ( function_exists( '_deprecated_file' ) ) { 7 _deprecated_file( basename( __FILE__ ), '5.5.0', WPINC . '/PHPMailer/PHPMailer.php', __( 'The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' ) ); 7 _deprecated_file( 8 basename( __FILE__ ), 9 '5.5.0', 10 WPINC . '/PHPMailer/PHPMailer.php', 11 __( 'The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.' ) 12 ); 8 13 } 14 9 15 require __DIR__ . '/PHPMailer/PHPMailer.php'; 16 require __DIR__ . '/PHPMailer/Exception.php'; 10 17 11 18 class_alias( PHPMailer\PHPMailer\PHPMailer::class, 'PHPMailer' ); 19 class_alias( PHPMailer\PHPMailer\Exception::class, 'phpmailerException' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)