mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Post by Email plugins might want to use there own POP3 class so move the action earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7886fac111
commit
8772775a15
@ -10,12 +10,12 @@
|
||||
/** Make sure that the WordPress bootstrap has run before continuing. */
|
||||
require(dirname(__FILE__) . '/wp-load.php');
|
||||
|
||||
/** Get the POP3 class with which to access the mailbox. */
|
||||
require_once( ABSPATH . WPINC . '/class-pop3.php' );
|
||||
|
||||
/** Allow a plugin to do a complete takeover of Post by Email **/
|
||||
do_action('wp_mail');
|
||||
|
||||
/** Get the POP3 class with which to access the mailbox. */
|
||||
require_once( ABSPATH . WPINC . '/class-pop3.php' );
|
||||
|
||||
/** Only check at this interval for new messages. */
|
||||
if ( !defined('WP_MAIL_INTERVAL') )
|
||||
define('WP_MAIL_INTERVAL', 300); // 5 minutes
|
||||
|
Loading…
Reference in New Issue
Block a user