[wp-trac] [WordPress Trac] #21071: Do a load action in admin.php for importers

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 25 15:02:39 UTC 2012


#21071: Do a load action in admin.php for importers
---------------------------+------------------------------------
 Reporter:  simonwheatley  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Import         |    Version:
 Severity:  normal         |   Keywords:  has-patch dev-feedback
---------------------------+------------------------------------
 Every type of page in the admin area has an equivalent
 ```load-[whatever]``` type action, which is triggered before any HTML has
 been rendered. This is handy if a plugin needs to process some data which
 might require a redirect header to be set, or to affect HTML which is
 rendered before the admin screen main content (e.g. admin notices).

 The exception to the rule is the importers. I propose adding an action
 which would allow plugins and themes to execute code at this point as
 easily as they can in other areas of WP admin.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21071>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list