mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user