Make WordPress Core


Ignore:
Timestamp:
01/11/2006 09:35:36 PM (21 years ago)
Author:
ryan
Message:

Trigger pre_ping action outside of loop. Props Mark Jaquith. fixes #2269

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-functions.php

    r3393 r3427  
    635635                        elseif(($test['path'] != '/') && ($test['path'] != ''))
    636636                                $post_links[] = $link_test;
    637                         do_action('pre_ping',  array(&$post_links, &$pung));
    638637                endif;
    639638        endforeach;
     639
     640        do_action('pre_ping',  array(&$post_links, &$pung));
    640641
    641642        foreach ($post_links as $pagelinkedto){
Note: See TracChangeset for help on using the changeset viewer.