Make WordPress Core


Ignore:
Timestamp:
11/09/2021 02:15:23 AM (2 years ago)
Author:
noisysocks
Message:

Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9

  • First pass at adding the site editor from the Gutenberg plugin to wp-admin/site-editor.php.
  • Adds miscellaneous PHP changes from Gutenberg 10.1 - 11.9.

Follows [52042].
See #54337.
Props youknowriad, aristath, hellofromtonya, gziolo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/functions.php

    r52062 r52069  
    308308    remove_action( 'init', 'register_block_core_categories' );
    309309    remove_action( 'init', 'register_block_core_file' );
    310     remove_action( 'init', 'register_block_core_loginout' );
    311310    remove_action( 'init', 'register_block_core_latest_comments' );
    312311    remove_action( 'init', 'register_block_core_latest_posts' );
     312    remove_action( 'init', 'register_block_core_legacy_widget' );
     313    remove_action( 'init', 'register_block_core_loginout' );
     314    remove_action( 'init', 'register_block_core_navigation' );
     315    remove_action( 'init', 'register_block_core_navigation_area' );
     316    remove_action( 'init', 'register_block_core_navigation_link' );
     317    remove_action( 'init', 'register_block_core_navigation_submenu' );
    313318    remove_action( 'init', 'register_block_core_page_list' );
     319    remove_action( 'init', 'register_block_core_pattern' );
    314320    remove_action( 'init', 'register_block_core_post_author' );
     321    remove_action( 'init', 'register_block_core_post_comments' );
    315322    remove_action( 'init', 'register_block_core_post_content' );
    316323    remove_action( 'init', 'register_block_core_post_date' );
    317324    remove_action( 'init', 'register_block_core_post_excerpt' );
    318325    remove_action( 'init', 'register_block_core_post_featured_image' );
     326    remove_action( 'init', 'register_block_core_post_navigation_link' );
     327    remove_action( 'init', 'register_block_core_post_template' );
    319328    remove_action( 'init', 'register_block_core_post_terms' );
    320329    remove_action( 'init', 'register_block_core_post_title' );
    321330    remove_action( 'init', 'register_block_core_query' );
    322     remove_action( 'init', 'register_block_core_post_template' );
    323     remove_action( 'init', 'gutenberg_register_legacy_query_loop_block' );
    324331    remove_action( 'init', 'register_block_core_query_pagination' );
    325332    remove_action( 'init', 'register_block_core_query_pagination_next' );
     
    330337    remove_action( 'init', 'register_block_core_search' );
    331338    remove_action( 'init', 'register_block_core_shortcode' );
     339    remove_action( 'init', 'register_block_core_site_logo' );
    332340    remove_action( 'init', 'register_block_core_site_tagline' );
    333     remove_action( 'init', 'register_block_core_site_logo' );
    334341    remove_action( 'init', 'register_block_core_site_title' );
    335342    remove_action( 'init', 'register_block_core_social_link' );
    336343    remove_action( 'init', 'register_block_core_social_link' );
    337344    remove_action( 'init', 'register_block_core_tag_cloud' );
     345    remove_action( 'init', 'register_block_core_template_part' );
     346    remove_action( 'init', 'register_block_core_term_description' );
    338347    remove_action( 'init', 'register_core_block_types_from_metadata' );
    339     remove_action( 'init', 'register_block_core_legacy_widget' );
    340     remove_action( 'init', 'register_block_core_template_part' );
    341348}
    342349tests_add_filter( 'init', '_unhook_block_registration', 1000 );
Note: See TracChangeset for help on using the changeset viewer.