diff --git a/wp-mail.php b/wp-mail.php index 17466ec620..91ee83c598 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -106,7 +106,7 @@ for ($i=1; $i <= $count; $i++) : $content = trim($content); - $content = trim($content); + $content = apply_filters('phone_content', $content); $post_title = xmlrpc_getposttitle($content); @@ -124,7 +124,8 @@ for ($i=1; $i <= $count; $i++) : $result = $wpdb->query($sql); $post_ID = $wpdb->insert_id; - + do_action('publish_post', $post_ID); + do_action('publish_phone', $post_ID); pingback($content, $post_ID); echo "\n

Posted title: $post_title
";