[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 16:42:10 UTC 2012


#21071: Do a load action in admin.php for importers
------------------------------+------------------
 Reporter:  simonwheatley     |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Import            |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 I can go for something like this. Not sure if I like the idea of modeling
 it after "load-*", as those hooks are specifically acting on $hook_suffix,
 while in this case the hook suffix would be "admin.php". Either way,
 namespacing it so it is load-importer-$importer or "import_$importer" or
 "load_importer_$importer" seems good to me.

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


More information about the wp-trac mailing list