Make WordPress Core


Ignore:
Timestamp:
10/21/2025 12:32:08 PM (7 months ago)
Author:
cbravobernal
Message:

Command Palette: Enqueue command-related assets for all admin pages.

Removes the core command initialization and registration code from the edit-post and edit-site packages and enqueues command-related assets globally.

Props wildworks, rcorrales, shailu25, youknowriad.

Fixes #63845.

File:
1 edited

Legend:

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

    r61008 r61022  
    593593add_action( 'admin_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 );
    594594add_action( 'admin_enqueue_scripts', 'wp_common_block_scripts_and_styles' );
     595add_action( 'admin_enqueue_scripts', 'wp_enqueue_command_palette_assets' );
    595596add_action( 'enqueue_block_assets', 'wp_enqueue_classic_theme_styles' );
    596597add_action( 'enqueue_block_assets', 'wp_enqueue_registered_block_scripts_and_styles' );
Note: See TracChangeset for help on using the changeset viewer.