[wp-trac] [WordPress Trac] #6954: Parameter not passed in 'post_gallery' filter

WordPress Trac wp-trac at lists.automattic.com
Sat May 10 18:45:31 GMT 2008


#6954: Parameter not passed in 'post_gallery' filter
---------------------+------------------------------------------------------
 Reporter:  scribu   |       Owner:  guillep2k       
     Type:  defect   |      Status:  new             
 Priority:  normal   |   Milestone:  2.5.2           
Component:  General  |     Version:  2.5.1           
 Severity:  normal   |    Keywords:  gallery, filters
---------------------+------------------------------------------------------
 In gallery_shortcode() the filter 'post_gallery' is called like this:

 {{{
 $output = apply_filters('post_gallery', '', $attr);
 }}}

 when it should be like this:

 {{{
 $output = apply_filters('post_gallery', $attr);
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6954>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list