|
385 | 385 |
|
386 | 386 | // Login actions. |
387 | 387 | add_action( 'login_head', 'wp_robots', 1 ); |
388 | | -add_filter( 'login_head', 'wp_resource_hints', 8 ); |
| 388 | +add_action( 'login_head', 'wp_resource_hints', 8 ); |
389 | 389 | add_action( 'login_head', 'wp_print_head_scripts', 9 ); |
390 | 390 | add_action( 'login_head', 'print_admin_styles', 9 ); |
391 | 391 | add_action( 'login_head', 'wp_site_icon', 99 ); |
|
540 | 540 | add_action( 'wp_abilities_api_categories_init', 'wp_register_core_ability_categories' ); |
541 | 541 | add_action( 'wp_abilities_api_init', 'wp_register_core_abilities' ); |
542 | 542 |
|
| 543 | +// Connectors API. |
| 544 | +add_action( 'init', '_wp_connectors_init', 15 ); |
| 545 | + |
543 | 546 | // Sitemaps actions. |
544 | 547 | add_action( 'init', 'wp_sitemaps_get_server' ); |
545 | 548 |
|
|
605 | 608 | add_action( 'enqueue_block_assets', 'wp_enqueue_classic_theme_styles' ); |
606 | 609 | add_action( 'enqueue_block_assets', 'wp_enqueue_registered_block_scripts_and_styles' ); |
607 | 610 | add_action( 'enqueue_block_assets', 'enqueue_block_styles_assets', 30 ); |
608 | | -add_action( 'init', 'wp_load_classic_theme_block_styles_on_demand', 8 ); // Must happen before register_core_block_style_handles() at priority 9. |
| 611 | +add_action( 'wp_default_styles', 'wp_load_classic_theme_block_styles_on_demand', 0 ); // Must happen before wp_default_styles() and register_core_block_style_handles(). |
609 | 612 | /* |
610 | 613 | * `wp_enqueue_registered_block_scripts_and_styles` is bound to both |
611 | 614 | * `enqueue_block_editor_assets` and `enqueue_block_assets` hooks |
|
797 | 800 | add_action( 'init', '_wp_register_default_font_collections' ); |
798 | 801 |
|
799 | 802 | // Collaboration. |
800 | | -add_action( 'enqueue_block_editor_assets', 'wp_collaboration_inject_setting' ); |
| 803 | +add_action( 'admin_init', 'wp_collaboration_inject_setting' ); |
801 | 804 |
|
802 | 805 | // Add ignoredHookedBlocks metadata attribute to the template and template part post types. |
803 | 806 | add_filter( 'rest_pre_insert_wp_template', 'inject_ignored_hooked_blocks_metadata_attributes' ); |
|
0 commit comments