Make WordPress Core


Ignore:
Timestamp:
08/14/2005 06:06:02 PM (21 years ago)
Author:
matt
Message:

Fixes #967, Fixes #972, Fixes #1578, Fixes #1580, Fixes #1567, Fixes #1481, Fixes #1186

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/xmlrpc.php

    r2778 r2780  
    577577
    578578          // FIXME: do we pingback always? pingback($content, $post_ID);
    579           trackback_url_list($content_struct['mt_tb_ping_urls'],$post_ID);
     579          // trackback_url_list($content_struct['mt_tb_ping_urls'],$post_ID);
     580
     581                if ('publish' == $post_status) {
     582                        if ($post_pingback) pingback($content, $post_ID);
     583                        do_enclose( $content, $post_ID );
     584                        do_trackbacks($post_ID);
     585                        do_action('publish_post', $post_ID);
     586                } 
    580587
    581588          return strval($post_ID);
     
    661668
    662669          // FIXME: do we pingback always? pingback($content, $post_ID);
    663           trackback_url_list($content_struct['mt_tb_ping_urls'], $post_ID);
     670          // trackback_url_list($content_struct['mt_tb_ping_urls'], $post_ID);
     671                if ('publish' == $post_status) {
     672                        if ($post_pingback) pingback($content, $post_ID);
     673                        do_enclose( $content, $post_ID );
     674                        do_trackbacks($post_ID);
     675                        do_action('publish_post', $post_ID);
     676                }       
     677                do_action('edit_post', $post_ID);
    664678
    665679          return true;
Note: See TracChangeset for help on using the changeset viewer.