[wp-trac] [WordPress Trac] #38678: Video Headers: Improve Basic Accessibility
WordPress Trac
noreply at wordpress.org
Wed Nov 16 23:35:47 UTC 2016
#38678: Video Headers: Improve Basic Accessibility
------------------------------------+----------------------------
Reporter: davidakennedy | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses: accessibility
------------------------------------+----------------------------
Comment (by westonruter):
@joemcgill something to be aware of with [39272] specifically with using
`esc_url_raw` as a `sanitize_callback`: when the customizer invokes that
callback it passed the `WP_Customize_Setting` instance. So here what this
means is that the setting instance would get passed in as the `$protocols`
parameter. For this function specifically, fortunately if `$protocols` is
not an array, then it gets set to `wp_allowed_protocols()`, so it will
work as expected. But this is something to be aware of in general.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38678#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list