#54419 closed enhancement (fixed)
Suggestion to add an action in /wp-admin/import.php page
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.8 | Priority: | normal |
Severity: | minor | Version: | 5.8.1 |
Component: | Import | Keywords: | has-patch has-dev-note |
Focuses: | administration | Cc: |
Description
Hi.
I think it would be useful if we add an action in /wp-admin/import.php page, much like the those we have on other administration pages ex. https://core.trac.wordpress.org/browser/tags/5.8.1/src/wp-admin/tools.php tools page.
The suggested action is the following
/** * Fires at the end of the importers Administration screen. * */ do_action( 'after_importers' );
to insert after
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/import.php#L232
Sorry, for not posting it as a patch.
Bests,
Lena
Change History (10)
This ticket was mentioned in PR #3492 on WordPress/wordpress-develop by @lenasterg.
3 years ago
#2
- Keywords has-patch added
This ticket was mentioned in PR #3493 on WordPress/wordpress-develop by @lenasterg.
3 years ago
#3
The patch adds an action at the end of /wp-admin/import.php page much like the one we have on other administration pages ex. tools page in https://core.trac.wordpress.org/browser/trunk/src/wp-admin/tools.php#L93
Trac ticket: [](https://core.trac.wordpress.org/ticket/54419)
This ticket was mentioned in Slack in #core by lenasterg. View the logs.
4 months ago
This ticket was mentioned in PR #8188 on WordPress/wordpress-develop by @audrasjb.
4 months ago
#5
https://core.trac.wordpress.org/ticket/54419
This PR adds an action hook at the end of the import screen, consistently with other admin screens.
Note import_filters
action hook name doesn't appear to conflict with existing plugins: https://wpdirectory.net/search/01JJBSRW4CYR37K9E9XFHJHACG
#6
@
4 months ago
- Milestone changed from Awaiting Review to 6.8
- Owner set to audrasjb
- Status changed from new to accepted
#8
@
4 months ago
- Keywords needs-dev-note added
This should be mentioned in the Misc changes dev note or in the field guide.
#9
@
2 months ago
Note that the dev note for this is drafted and part of the Miscellaneous Dev Note.
#10
@
8 weeks ago
- Keywords has-dev-note added; needs-dev-note removed
This has now been published as a section in the Miscellaneous developer changes in WordPress 6.8 dev note post.
The patch adds an action in /wp-admin/import.php page much like the one we have on other administration pages ex. tools page in https://core.trac.wordpress.org/browser/trunk/src/wp-admin/tools.php#L93
The patch adds an action in /wp-admin/import.php page much like the one we have on other administration pages ex. tools page in https://core.trac.wordpress.org/browser/trunk/src/wp-admin/tools.php#L93
Trac ticket: https://core.trac.wordpress.org/ticket/54419