Make WordPress Core

Opened 2 years ago

Last modified 19 months ago

#25414 new enhancement

Make the default four media alignment values filterable

Reported by: tw2113 Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch
Focuses: Cc:


I think a good place for a new filter would be the, currently, four media alignment values. This way theme or plugin developers could add their own class values to the media uploader screen to coordinate with their custom css.

I could see it going a number of ways. Either passing in an array of the four already, or an empty array for the user to populate and then doing an array merge. The latter could be done for the sake of ensuring the original four aren't able to be removed for compatibility sake.

Change History (1)

comment:1 @wonderboymusic19 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

Needs a patch.

Note: See TracTickets for help on using tickets.