Pass post ID to get_enclosed filter. Props willnorris. fixes #14018

git-svn-id: https://develop.svn.wordpress.org/trunk@16275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-11-10 16:40:49 +00:00
parent 38c6bcbb55
commit af72ac38ff

View File

@@ -2978,7 +2978,7 @@ function get_enclosed($post_id) {
$pung[] = trim( $enclosure[ 0 ] );
}
}
$pung = apply_filters('get_enclosed', $pung);
$pung = apply_filters('get_enclosed', $pung, $post_id);
return $pung;
}