WordPress.org

Make WordPress Core

Changeset 4147


Ignore:
Timestamp:
08/31/2006 05:21:27 AM (15 years ago)
Author:
ryan
Message:

Add xmlrpc_publish_post action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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') ) {
Note: See TracChangeset for help on using the changeset viewer.