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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-10 16:40:49 +00:00
parent 6764a0c3fa
commit d26a1aa4ef
1 changed files with 1 additions and 1 deletions

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;
}