Ticket #23376: post.diff
File post.diff, 726 bytes (added by , 12 years ago) |
---|
-
post.php
4833 4833 * 4834 4834 * @since 2.3.0 4835 4835 * @access private 4836 * @uses $wpdb 4837 * @uses XMLRPC_REQUEST constant. 4838 * @uses do_action() Calls 'xmlprc_publish_post' on post ID if XMLRPC_REQUEST is defined. 4836 * @uses XMLRPC_REQUEST and WP_IMPORTING constants. 4837 * @uses do_action() Calls 'xmlrpc_publish_post' on post ID if XMLRPC_REQUEST is defined. 4839 4838 * 4840 4839 * @param int $post_id The ID in the database table of the post being published 4841 4840 */ 4842 4841 function _publish_post_hook($post_id) { 4843 global $wpdb;4844 4845 4842 if ( defined('XMLRPC_REQUEST') ) 4846 4843 do_action('xmlrpc_publish_post', $post_id); 4847 4844