Changeset 4147

Show
Ignore:
Timestamp:
08/31/06 05:21:27 (2 years ago)
Author:
ryan
Message:

Add xmlrpc_publish_post action.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/post.php

    r4144 r4147  
    665665    if ($post_status == 'publish' && $post_type == 'post') { 
    666666        do_action('publish_post', $post_ID); 
     667        if ( defined('XMLRPC_REQUEST') ) 
     668            do_action('xmlrpc_publish_post', $post_ID); 
    667669 
    668670        if ( !defined('WP_IMPORTING') ) {