WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/10/2020 05:42:15 PM (14 months ago)
Author:
desrosj
Message:

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

Merges [47947] to the 5.4 branch.
Props xknown.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/src/wp-includes/default-filters.php

    r47467 r47953  
    577577add_filter( 'the_excerpt_embed', 'wp_embed_excerpt_attachment' );
    578578
     579add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 5, 3 );
    579580add_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10, 3 );
    580 add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 20, 3 );
    581581add_filter( 'oembed_response_data', 'get_oembed_response_data_rich', 10, 4 );
    582582add_filter( 'pre_oembed_result', 'wp_filter_pre_oembed_result', 10, 3 );
Note: See TracChangeset for help on using the changeset viewer.