[wp-trac] [WordPress Trac] #30497: Impossible to change upgrader skin when Language_Pack_Upgrader is instanciated via Language_Pack_Upgrader::async_upgrade()

WordPress Trac noreply at wordpress.org
Wed Apr 1 02:35:18 UTC 2015


#30497: Impossible to change upgrader skin when Language_Pack_Upgrader is
instanciated via Language_Pack_Upgrader::async_upgrade()
-----------------------------+-----------------------------
 Reporter:  rodrigosprimo    |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Upgrade/Install  |     Version:  4.0
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:
-----------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:   => 2nd-opinion
 * milestone:  Awaiting Review => Future Release


Comment:

 I'd prefer to use dependency injection here and add a method to
 `Language_Pack_Upgrader` which sets the language pack upgrader skin class.
 Thoughts?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30497#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list