From f5e49c809b2194796962ec17152e066980a6f449 Mon Sep 17 00:00:00 2001 From: Peter Westwood 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: https://develop.svn.wordpress.org/trunk@11949 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' );