[wp-trac] [WordPress Trac] #29379: Add a hook to filter gallery classes

WordPress Trac noreply at wordpress.org
Tue Jul 12 19:01:32 UTC 2022


#29379: Add a hook to filter gallery classes
-------------------------------------+-----------------------------
 Reporter:  grosbouff                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  low                      |   Milestone:  Future Release
Component:  Gallery                  |     Version:  3.9.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by desrosj):

 * keywords:  has-patch needs-docs => has-patch needs-refresh
 * priority:  normal => low
 * milestone:   => Future Release


Comment:

 [attachment:"29379.diff"] needs to be refreshed against the current code
 base.

 While gallery blocks are the preferred way to implement galleries now and
 they do not use `gallery_shortcode()` directly, I think this is a
 reasonable change to make. Adding a `classes` attribute to `$attr` may
 also make sense to accompany this.

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


More information about the wp-trac mailing list