From 5d226699f876367157552ebe9ba8d76292205a2d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 31 Aug 2006 05:21:27 +0000 Subject: [PATCH] Add xmlrpc_publish_post action. git-svn-id: https://develop.svn.wordpress.org/trunk@4147 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/post.php b/wp-includes/post.php index cf97839c3f..ebb1799ee2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -664,6 +664,8 @@ function wp_insert_post($postarr = array()) { if ($post_status == 'publish' && $post_type == 'post') { do_action('publish_post', $post_ID); + if ( defined('XMLRPC_REQUEST') ) + do_action('xmlrpc_publish_post', $post_ID); if ( !defined('WP_IMPORTING') ) { if ( $post_pingback )