Make WordPress Core


Ignore:
Timestamp:
06/10/2020 04:34:18 PM (4 years ago)
Author:
whyisjake
Message:

Embeds: Ensure that the title attribute is set correctly on embeds.

Props xknown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r47597 r47947  
    583583add_filter( 'the_excerpt_embed', 'wp_embed_excerpt_attachment' );
    584584
     585add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 5, 3 );
    585586add_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10, 3 );
    586 add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 20, 3 );
    587587add_filter( 'oembed_response_data', 'get_oembed_response_data_rich', 10, 4 );
    588588add_filter( 'pre_oembed_result', 'wp_filter_pre_oembed_result', 10, 3 );
Note: See TracChangeset for help on using the changeset viewer.