WordPress.org

Make WordPress Core

Opened 14 months ago

Last modified 14 months ago

#40524 new enhancement

Filter hook for max image columns in gallery settings

Reported by: JanneLeppanen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Gallery Keywords: has-patch
Focuses: Cc:

Description

It would be nice to have a filter for modifying maximum count of gallery columns.

Or would this be a bad hook, because most of themes would not support more 9 (default maximum) columns out of the box?

Attachments (2)

40524.patch (608 bytes) - added by JanneLeppanen 14 months ago.
40524.2.patch (1.2 KB) - added by sebastian.pisula 14 months ago.

Download all attachments as: .zip

Change History (4)

#1 @JanneLeppanen
14 months ago

  • Keywords has-patch added

#2 @sebastian.pisula
14 months ago

I suggest add better filter because I want show of my client custom defined columns size. My patch.

Note: See TracTickets for help on using tickets.