[wp-trac] [WordPress Trac] #46986: DNT Parameter automatically for Vimeo oEmbed requests
WordPress Trac
noreply at wordpress.org
Wed Oct 7 23:36:57 UTC 2020
#46986: DNT Parameter automatically for Vimeo oEmbed requests
-------------------------------------------------+-------------------------
Reporter: djc71889 | Owner: garrett-
| eclipse
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.6
Component: Embeds | Version: 4.9
Severity: major | Resolution:
Keywords: has-patch needs-testing needs-dev- | Focuses: privacy
note has-unit-tests |
-------------------------------------------------+-------------------------
Comment (by garrett-eclipse):
Nice hahaha thanks for catching that, I thought I was just looking at the
log backwards but guess it was my logic ;)
And appreciate the unit test, it's working nicely. I tried to find a
wp.org vimeo account or video we could use to be official but I couldn't
find one. Maybe we can get #meta to setup an account with a single video
for this purpose.
Also I applied one additional unit test, now that I see how you've done it
there, to apply the function example I provided in the docblock which
confirms the inverse of default can easily be achieved with the existing
filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46986#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list