From ad83f73957f86d85238b00db3b57ab3d537929de Mon Sep 17 00:00:00 2001 From: westi Date: Fri, 18 Sep 2009 20:43:05 +0000 Subject: [PATCH] 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: http://svn.automattic.com/wordpress/trunk@11949 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-mail.php b/wp-mail.php index 25de0a9762..cbc4731590 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -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' );