Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9446 closed defect (bug) (invalid)

filter media_meta typo

Reported by: raliste Owned by:
Milestone: Priority: lowest
Severity: trivial Version: 2.7.1
Component: General Keywords: media_meta, apply_filters
Focuses: Cc:


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

Change History (2)

#1 @raliste
9 years ago

  • Priority changed from high to lowest
  • Resolution set to invalid
  • Status changed from new to closed

totally forget $accepted_args = 2, please close this

#2 @Denis-de-Bernardy
9 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.