Post by Email plugins might want to use there own POP3 class so move the action earlier.

git-svn-id: https://develop.svn.wordpress.org/trunk@11910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2009-09-10 20:05:24 +00:00
parent 1649248a01
commit 09845dfd03
1 changed files with 3 additions and 3 deletions

View File

@ -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