WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/10/2020 05:58:07 PM (16 months ago)
Author:
desrosj
Message:

General: Backport several commits for release.

  • Embeds: Ensure that the title attribute is set correctly on embeds.
  • Editor: Prevent HTML decoding on by setting the proper editor context.
  • Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
  • Themes: Ensure a broken theme name is returned properly.
  • Administration: Add a new filter to extend set-screen-option.

Merges [47948-47951] to the 5.3 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

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

    r46900 r47959  
    575575add_filter( 'the_excerpt_embed', 'wp_embed_excerpt_attachment' );
    576576
     577add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 5, 3 );
    577578add_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10, 3 );
    578 add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 20, 3 );
    579579add_filter( 'oembed_response_data', 'get_oembed_response_data_rich', 10, 4 );
    580580add_filter( 'pre_oembed_result', 'wp_filter_pre_oembed_result', 10, 3 );
Note: See TracChangeset for help on using the changeset viewer.