WordPress.org

Make WordPress Core

Ticket #41048: 41048.01.patch

File 41048.01.patch, 479 bytes (added by r-a-y, 2 years ago)

Patched against 4.8 branch

  • src/wp-includes/class-wp-oembed-controller.php

     
    159159                $args = $request->get_params();
    160160
    161161                // Serve oEmbed data from cache if set.
     162                unset( $args['_wpnonce'] );
    162163                $cache_key = 'oembed_' . md5( serialize( $args ) );
    163164                $data = get_transient( $cache_key );
    164165                if ( ! empty( $data ) ) {