[wp-trac] [WordPress Trac] #14781: Allow upload of PHP files as plugin

WordPress Trac noreply at wordpress.org
Fri Aug 25 20:03:08 UTC 2017


#14781: Allow upload of PHP files as plugin
-------------------------------------------------+-------------------------
 Reporter:  hakre                                |       Owner:
     Type:  feature request                      |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Upgrade/Install                      |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-refresh has-patch needs-unit-  |  Resolution:
  tests                                          |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by Mte90):

 I refreshed the patch looking about how to do unit tests.
 Seems that `WP_Upgrader` class doesn't have unit test so someone can help
 about?
 I cannot find also an unit test for the actual code that check if the zip
 upload is working.

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


More information about the wp-trac mailing list