[wp-trac] [WordPress Trac] #46986: DNT Parameter automatically for Vimeo oEmbed requests
WordPress Trac
noreply at wordpress.org
Wed Oct 7 17:14:05 UTC 2020
#46986: DNT Parameter automatically for Vimeo oEmbed requests
-------------------------------------+----------------------
Reporter: djc71889 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.6
Component: Embeds | Version:
Severity: major | Resolution:
Keywords: 2nd-opinion needs-patch | Focuses: privacy
-------------------------------------+----------------------
Comment (by helen):
I think a patch approach here would be to add a filter around the line
added in [41345] that filters an array of providers *not* to apply the
`dnt` query arg to, with Vimeo in there as a default item in the array. We
may need to move this before the `$provider` variable is changed, or use a
separate variable for the changed `$provider` URL.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46986#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list