Changeset 41345
- Timestamp:
- 09/08/2017 12:30:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r41162 r41345 491 491 $provider = add_query_arg( 'maxheight', (int) $args['height'], $provider ); 492 492 $provider = add_query_arg( 'url', urlencode($url), $provider ); 493 $provider = add_query_arg( 'dnt', 1, $provider ); 493 494 494 495 /** … … 496 497 * 497 498 * @since 2.9.0 499 * @since 4.9.0 The `dnt` (Do Not Track) query parameter was added to all oEmbed provider URLs. 498 500 * 499 501 * @param string $provider URL of the oEmbed provider.
Note: See TracChangeset
for help on using the changeset viewer.