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:
parent
6764a0c3fa
commit
d26a1aa4ef
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue