mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
Add $post_ID context to the pre_ping filter. props alexkingorg, devesine. fixes #18506.
git-svn-id: https://develop.svn.wordpress.org/trunk@20127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e711e72c40
commit
0b01f311d1
@ -1816,7 +1816,7 @@ function pingback($content, $post_ID) {
|
||||
endif;
|
||||
endforeach;
|
||||
|
||||
do_action_ref_array('pre_ping', array(&$post_links, &$pung));
|
||||
do_action_ref_array( 'pre_ping', array( &$post_links, &$pung, $post_ID ) );
|
||||
|
||||
foreach ( (array) $post_links as $pagelinkedto ) {
|
||||
$pingback_server_url = discover_pingback_server_uri( $pagelinkedto );
|
||||
|
Loading…
x
Reference in New Issue
Block a user