[wp-trac] [WordPress Trac] #31053: HTML5 caption disregards img_caption_shortcode_width filter
WordPress Trac
noreply at wordpress.org
Mon Jan 19 15:35:59 UTC 2015
#31053: HTML5 caption disregards img_caption_shortcode_width filter
--------------------------+------------------------------
Reporter: trysmudford | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by TheDeadMedic):
Just to jump in - that seems crazy.
So let me get this straight. If a theme author does '''not''' define HTML5
captions, they have the power to override the inline width, or even remove
the inline style completely.
Yet with HTML5, they have nothing (at least not without overriding the
shortcode handler).
I completely understand the removal of the 10 pixel padding, but not
bypassing the filter entirely.
If anything, defining HTML5 caption support is an indication that the
theme is responsive and far more likely to apply granular control over
images and captions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31053#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list