Make WordPress Core


Ignore:
Timestamp:
04/12/2022 03:59:47 PM (2 years ago)
Author:
gziolo
Message:

Editor: Use block settings to pass assets for the iframed editor

Backports changes applied in Gutenberg in https://github.com/WordPress/gutenberg/pull/37193.

Props zieladam.
See #55505.
Follow-up for [53157].

File:
1 edited

Legend:

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

    r53158 r53160  
    592592add_action( 'wp_footer', 'wp_maybe_inline_styles', 1 ); // Run for late-loaded styles in the footer.
    593593
    594 add_action( 'admin_footer-post.php', 'wp_add_iframed_editor_assets_html' );
    595 add_action( 'admin_footer-post-new.php', 'wp_add_iframed_editor_assets_html' );
    596 add_action( 'admin_footer-widgets.php', 'wp_add_iframed_editor_assets_html' );
    597 add_action( 'admin_footer-site-editor.php', 'wp_add_iframed_editor_assets_html' );
    598 
    599594add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type', 10, 2 );
    600595add_action( 'edit_form_after_title', '_disable_content_editor_for_navigation_post_type' );
Note: See TracChangeset for help on using the changeset viewer.