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
This commit is contained in:
audrasjb 2025-01-24 14:02:21 +00:00
parent 6a84867ba3
commit 492dd1ba34
2 changed files with 8 additions and 1 deletions

View File

@ -235,6 +235,13 @@ if ( current_user_can( 'install_plugins' ) ) {
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) )
) . '</p>';
}
/**
* Fires at the end of the Import screen.
*
* @since 6.8.0
*/
do_action( 'import_filters' );
?>
</div>

View File

@ -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.