Make the action name for post-by-email takeover actually unique so the plugins are not triggered every time WP tries to send an email!

git-svn-id: https://develop.svn.wordpress.org/trunk@11949 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2009-09-18 20:43:05 +00:00
parent 8e26b1739b
commit f5e49c809b

View File

@@ -11,7 +11,7 @@
require(dirname(__FILE__) . '/wp-load.php');
/** Allow a plugin to do a complete takeover of Post by Email **/
do_action('wp_mail');
do_action('wp-mail.php');
/** Get the POP3 class with which to access the mailbox. */
require_once( ABSPATH . WPINC . '/class-pop3.php' );