[wp-trac] [WordPress Trac] #33979: Add filter for 'post_gallery_item'

WordPress Trac noreply at wordpress.org
Mon Jul 16 22:08:06 UTC 2018


#33979: Add filter for 'post_gallery_item'
--------------------------------+-----------------------
 Reporter:  lostmotionassembly  |       Owner:  antpb
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  5.0
Component:  Gallery             |     Version:  4.4
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+-----------------------
Changes (by pbiron):

 * Attachment "33979.4.diff" added.

 pass an array, rather than a string, to filter.  and sanitize the return
 value of the filter.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/33979>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list