[wp-trac] [WordPress Trac] #27292: HTML5 Captions

WordPress Trac noreply at wordpress.org
Thu Mar 6 09:27:18 UTC 2014


#27292: HTML5 Captions
-------------------------+-----------------------------
 Reporter:  jond3r       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  template     |
-------------------------+-----------------------------
 Add the possibility to get HTML5 figure and figcaption elements in the
 output of the image caption shortcode. This would then be achieved by
 adding

 {{{ add_theme_support( 'html5', array( 'caption' ) );}}}

 to the theme's functions.php for example.

 This is a quite obvious suggestion in view of the recent addition of HTML5
 to the gallery shortcode, see #26697. It also should not break any
 existing code (e.g. #27278) ;).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27292>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list