Changeset 23387
- Timestamp:
- 02/05/2013 03:45:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r23353 r23387 4849 4849 * @since 2.3.0 4850 4850 * @access private 4851 * @uses $wpdb 4852 * @uses XMLRPC_REQUEST constant. 4853 * @uses do_action() Calls 'xmlprc_publish_post' on post ID if XMLRPC_REQUEST is defined. 4851 * @uses XMLRPC_REQUEST and WP_IMPORTING constants. 4852 * @uses do_action() Calls 'xmlrpc_publish_post' on post ID if XMLRPC_REQUEST is defined. 4854 4853 * 4855 4854 * @param int $post_id The ID in the database table of the post being published 4856 4855 */ 4857 4856 function _publish_post_hook($post_id) { 4858 global $wpdb;4859 4860 4857 if ( defined('XMLRPC_REQUEST') ) 4861 4858 do_action('xmlrpc_publish_post', $post_id);
Note: See TracChangeset
for help on using the changeset viewer.