WordPress.org

Make WordPress Core

Changeset 20127


Ignore:
Timestamp:
03/06/12 22:44:44 (3 years ago)
Author:
nacin
Message:

Add $post_ID context to the pre_ping filter. props alexkingorg, devesine. fixes #18506.

File:
1 edited

Legend:

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

    r20000 r20127  
    18171817    endforeach; 
    18181818 
    1819     do_action_ref_array('pre_ping', array(&$post_links, &$pung)); 
     1819    do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post_ID ) ); 
    18201820 
    18211821    foreach ( (array) $post_links as $pagelinkedto ) { 
Note: See TracChangeset for help on using the changeset viewer.