WordPress.org

Make WordPress Core

Ticket #2269: pre_ping_FIX.diff

File pre_ping_FIX.diff, 679 bytes (added by markjaquith, 15 years ago)

Fix for SVN trunk

  • wp-includes/comment-functions.php

     
    634634                                $post_links[] = $link_test;
    635635                        elseif(($test['path'] != '/') && ($test['path'] != ''))
    636636                                $post_links[] = $link_test;
    637                         do_action('pre_ping',  array(&$post_links, &$pung));
    638637                endif;
    639638        endforeach;
    640639
     640        do_action('pre_ping',  array(&$post_links, &$pung));
     641
    641642        foreach ($post_links as $pagelinkedto){
    642643                debug_fwrite($log, "Processing -- $pagelinkedto\n");
    643644                $pingback_server_url = discover_pingback_server_uri($pagelinkedto, 2048);