Changeset 3427

Show
Ignore:
Timestamp:
01/11/06 21:35:36 (3 years ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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){