From 492dd1ba34809b631ecffa16830bea588cde04a3 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 24 Jan 2025 14:02:21 +0000 Subject: [PATCH] Import: Add the `import_filters` action hook to the Import screen. This changeset introduces the new `import_filters` action hook at the end of the Import screen, consistently with other admin screens like `export.php`. Props audrasjb, lenasterg. Fixes #54419. See #19863. Built from https://develop.svn.wordpress.org/trunk@59701 git-svn-id: http://core.svn.wordpress.org/trunk@59043 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/import.php | 7 +++++++ wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-admin/import.php b/wp-admin/import.php index e04dc3109b..913f402fe3 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -235,6 +235,13 @@ if ( current_user_can( 'install_plugins' ) ) { esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) ) . '

'; } + +/** + * Fires at the end of the Import screen. + * + * @since 6.8.0 + */ +do_action( 'import_filters' ); ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index ef762d3b8b..69945a736a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59700'; +$wp_version = '6.8-alpha-59701'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.