[wp-trac] [WordPress Trac] #9446: filter media_meta typo
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 2 23:01:49 GMT 2009
#9446: filter media_meta typo
--------------------------+-------------------------------------------------
Reporter: raliste | Owner: anonymous
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: General | Version: 2.7.1
Severity: trivial | Keywords: media_meta, apply_filters
--------------------------+-------------------------------------------------
Why in media.php line 1121 the filter media_meta is defined as
apply_filters('media_meta', '', $post)?
when it should be
apply_filters('media_meta', $post)
So for the following piece of code work
add_filter('media_meta', 'my_function')
function my_function($post) { //do whatever i want; show guid for
example... }
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9446>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list