Make WordPress Core


Ignore:
Timestamp:
01/17/2024 09:34:24 PM (18 months ago)
Author:
jorbin
Message:

Embeds: Ensure the deprecated function print_emoji_styles isn't used

Ensure that the proper new function wp_enqueue_emoji_styles is used in embeds.

Follow-up to: [56194].

Props peterwilsoncc, bobbingwide, hellofromTonya.
Fixes #59892. See: #58775.

File:
1 edited

Legend:

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

    r57009 r57306  
    688688add_action( 'embed_head', 'rel_canonical' );
    689689add_action( 'embed_head', 'locale_stylesheet', 30 );
     690add_action( 'enqueue_embed_scripts', 'wp_enqueue_emoji_styles' );
    690691
    691692add_action( 'embed_content_meta', 'print_embed_comments_button' );
Note: See TracChangeset for help on using the changeset viewer.