[wp-trac] [WordPress Trac] #29832: Add filter to final output of gallery_shortcode

WordPress Trac noreply at wordpress.org
Wed Jan 28 23:18:48 UTC 2015


#29832: Add filter to final output of gallery_shortcode
-------------------------+-----------------------
 Reporter:  dcrabill     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Gallery      |     Version:  2.5
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |     Focuses:  template
-------------------------+-----------------------
Changes (by obenland):

 * keywords:  close =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I agree. Parsing html output to replace or add something is really not
 ideal. The `the_content` filter comes with its own set of problems and is
 to me an argument against adding a filter like that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29832#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list