[wp-trac] [WordPress Trac] #20230: Add new filter post_gallery_results to replace the core gallery template after the attachment query

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 14 14:56:09 UTC 2012


#20230: Add new filter post_gallery_results to replace the core gallery template
after the attachment query
-------------------------+------------------------------
 Reporter:  jeremyfelt   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by TomAuger):

 Looks like an exact duplicate of #14130, except that he's  putting the
 filter after the feed() check, instead of before.

 However, I prefer #14130 because it also includes the $attr parameter,
 which is pretty critical if you're going to be rolling your own HTML
 output.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20230#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list