[wp-trac] [WordPress Trac] #30860: Add unit tests for plugin.php

WordPress Trac noreply at wordpress.org
Wed Dec 31 13:54:31 UTC 2014


#30860: Add unit tests for plugin.php
------------------------------+---------------------------
 Reporter:  sgrant            |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.2
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+---------------------------

Comment (by boonebgorges):

 Yup, that's the idea, though you can probably simplify somewhat - since in
 the case of drop-ins we have a whitelist of file names, just do `foreach
 ... if ( file_exists() ) rename ...`.

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


More information about the wp-trac mailing list