[wp-trac] [WordPress Trac] #25414: Make the default four media alignment values filterable

WordPress Trac noreply at wordpress.org
Wed Sep 25 07:27:41 UTC 2013


#25414: Make the default four media alignment values filterable
-------------------------+-----------------------------
 Reporter:  tw2113       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25414>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list