wip
This commit is contained in:
@@ -151,6 +151,7 @@ add_filter( 'update_term_metadata_cache', 'wp_check_term_meta_support_prefilter'
|
||||
add_action( 'added_comment_meta', 'wp_cache_set_comments_last_changed' );
|
||||
add_action( 'updated_comment_meta', 'wp_cache_set_comments_last_changed' );
|
||||
add_action( 'deleted_comment_meta', 'wp_cache_set_comments_last_changed' );
|
||||
add_action( 'init', 'wp_create_initial_comment_meta' );
|
||||
|
||||
// Places to balance tags on input.
|
||||
foreach ( array( 'content_save_pre', 'excerpt_save_pre', 'comment_save_pre', 'pre_comment_content' ) as $filter ) {
|
||||
@@ -422,6 +423,7 @@ add_action( 'do_all_pings', 'do_all_trackbacks', 10, 0 );
|
||||
add_action( 'do_all_pings', 'generic_ping', 10, 0 );
|
||||
add_action( 'do_robots', 'do_robots' );
|
||||
add_action( 'do_favicon', 'do_favicon' );
|
||||
add_action( 'wp_before_include_template', 'wp_start_template_enhancement_output_buffer', 1000 ); // Late priority to let `wp_template_enhancement_output_buffer` filters and `wp_finalized_template_enhancement_output_buffer` actions be registered.
|
||||
add_action( 'set_comment_cookies', 'wp_set_comment_cookies', 10, 3 );
|
||||
add_action( 'sanitize_comment_cookies', 'sanitize_comment_cookies' );
|
||||
add_action( 'init', 'smilies_init', 5 );
|
||||
@@ -520,6 +522,7 @@ add_action( 'wp_update_comment_type_batch', '_wp_batch_update_comment_type' );
|
||||
// Email notifications.
|
||||
add_action( 'comment_post', 'wp_new_comment_notify_moderator' );
|
||||
add_action( 'comment_post', 'wp_new_comment_notify_postauthor' );
|
||||
add_action( 'rest_insert_comment', 'wp_new_comment_via_rest_notify_postauthor' );
|
||||
add_action( 'after_password_reset', 'wp_password_change_notification' );
|
||||
add_action( 'register_new_user', 'wp_send_new_user_notifications' );
|
||||
add_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );
|
||||
@@ -531,6 +534,10 @@ add_action( 'rest_api_init', 'register_initial_settings', 10 );
|
||||
add_action( 'rest_api_init', 'create_initial_rest_routes', 99 );
|
||||
add_action( 'parse_request', 'rest_api_loaded' );
|
||||
|
||||
// Abilities API.
|
||||
add_action( 'wp_abilities_api_categories_init', 'wp_register_core_ability_categories' );
|
||||
add_action( 'wp_abilities_api_init', 'wp_register_core_abilities' );
|
||||
|
||||
// Sitemaps actions.
|
||||
add_action( 'init', 'wp_sitemaps_get_server' );
|
||||
|
||||
@@ -591,9 +598,11 @@ add_action( 'wp_enqueue_scripts', 'wp_common_block_scripts_and_styles' );
|
||||
add_action( 'wp_enqueue_scripts', 'wp_enqueue_classic_theme_styles' );
|
||||
add_action( 'admin_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 );
|
||||
add_action( 'admin_enqueue_scripts', 'wp_common_block_scripts_and_styles' );
|
||||
add_action( 'admin_enqueue_scripts', 'wp_enqueue_command_palette_assets' );
|
||||
add_action( 'enqueue_block_assets', 'wp_enqueue_classic_theme_styles' );
|
||||
add_action( 'enqueue_block_assets', 'wp_enqueue_registered_block_scripts_and_styles' );
|
||||
add_action( 'enqueue_block_assets', 'enqueue_block_styles_assets', 30 );
|
||||
add_action( 'init', 'wp_load_classic_theme_block_styles_on_demand', 8 ); // Must happen before register_core_block_style_handles() at priority 9.
|
||||
/*
|
||||
* `wp_enqueue_registered_block_scripts_and_styles` is bound to both
|
||||
* `enqueue_block_editor_assets` and `enqueue_block_assets` hooks
|
||||
@@ -628,7 +637,8 @@ add_action( 'wp_footer', 'wp_enqueue_stored_styles', 1 );
|
||||
add_action( 'wp_default_styles', 'wp_default_styles' );
|
||||
add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );
|
||||
|
||||
add_action( 'wp_head', 'wp_print_auto_sizes_contain_css_fix', 1 );
|
||||
add_action( 'wp_head', 'wp_enqueue_img_auto_sizes_contain_css_fix', 0 ); // Must run before wp_print_auto_sizes_contain_css_fix().
|
||||
add_action( 'wp_head', 'wp_print_auto_sizes_contain_css_fix', 1 ); // Retained for backwards-compatibility. Unhooked by wp_enqueue_img_auto_sizes_contain_css_fix().
|
||||
add_action( 'wp_head', 'wp_maybe_inline_styles', 1 ); // Run for styles enqueued in <head>.
|
||||
add_action( 'wp_footer', 'wp_maybe_inline_styles', 1 ); // Run for late-loaded styles in the footer.
|
||||
|
||||
@@ -694,7 +704,8 @@ add_filter( 'media_send_to_editor', 'image_media_send_to_editor', 10, 3 );
|
||||
add_action( 'rest_api_init', 'wp_oembed_register_route' );
|
||||
add_filter( 'rest_pre_serve_request', '_oembed_rest_pre_serve_request', 10, 4 );
|
||||
|
||||
add_action( 'wp_head', 'wp_oembed_add_discovery_links' );
|
||||
add_action( 'wp_head', 'wp_oembed_add_discovery_links', 4 ); // Printed after feed_links() and feed_links_extra().
|
||||
add_action( 'wp_head', 'wp_oembed_add_discovery_links' ); // Unhooked the first time that wp_oembed_add_discovery_links() runs for back-compat.
|
||||
add_action( 'wp_head', 'wp_oembed_add_host_js' ); // Back-compat for sites disabling oEmbed host JS by removing action.
|
||||
add_filter( 'embed_oembed_html', 'wp_maybe_enqueue_oembed_host_js' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user