[wp-trac] [WordPress Trac] #25295: Adding additional classes to image captions
    WordPress Trac 
    noreply at wordpress.org
       
    Fri Jan 31 07:04:04 UTC 2014
    
    
  
#25295: Adding additional classes to image captions
-------------------------+------------------------------
 Reporter:  jpswade      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.6.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------
Changes (by DrewAPicture):
 * keywords:  image caption classes needs-patch 2nd-opinion => needs-patch
 * type:  defect (bug) => enhancement
 * focuses:  ui =>
 * component:  Editor => Media
Comment:
 This seems very edge to me, and an excellent candidate for plugin
 material. That said, another filter in the caption shortcode callback
 would probably be in order to facilitate this.
 And as it happens, the alignment class is already being added to output so
 reconfiguring that to evaluate through a filter could easily make it
 possible for new classes to be introduced.
 Would somebody like to explore a patch?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25295#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list