Ticket #7245: 7245.diff
| File 7245.diff, 676 bytes (added by Denis-de-Bernardy, 3 years ago) |
|---|
-
wp-mail.php
13 13 /** Get the POP3 class with which to access the mailbox. */ 14 14 require_once( ABSPATH . WPINC . '/class-pop3.php' ); 15 15 16 /** Keep certain intervals to fetch mail messages. */ 17 if ( !defined('WP_MAIL_INTERVAL') ) 18 define('WP_MAIL_INTERVAL', 300); // 5 minutes 19 20 if ( !WP_MAIL_INTERVAL || ( WP_MAIL_INTERVAL > time() - get_transient('mailserver_last_checked') ) ) 21 exit; 22 set_transient('mailserver_last_checked', $last_checked); 23 16 24 $time_difference = get_option('gmt_offset') * 3600; 17 25 18 26 $phone_delim = '::';
