[wp-trac] [WordPress Trac] #35367: Documented attributes for audio shortcode misleading (also video).
WordPress Trac
noreply at wordpress.org
Fri Jan 8 11:38:58 UTC 2016
#35367: Documented attributes for audio shortcode misleading (also video).
--------------------------------------+-------------------
Reporter: gitlost | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Media | Version: 3.6
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: docs
--------------------------------------+-------------------
Changes (by swissspidy):
* keywords: => has-patch has-unit-tests
* version: 3.9 => 3.6
* milestone: Awaiting Review => 4.5
Comment:
Yeah, that sounds like a bug.
[attachment:35367.diff] does:
* Make sure `class` and `style` attributes get correctly passed
* Fixes the default values in the DocBlocks
* Make sure the DocBlock for the `class` attribute filters are right
before the `apply_filters` call
* Adds unit tests
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35367#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list