[wp-trac] [WordPress Trac] #36170: Small refactor in the validate_file method + unit tests

WordPress Trac noreply at wordpress.org
Wed May 18 12:14:49 UTC 2016


#36170: Small refactor in the validate_file method + unit tests
-------------------------------------------------+-------------------------
 Reporter:  borgesbruno                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Filesystem API                       |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch has-unit-tests needs-      |  Resolution:
  refresh                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * keywords:  has-patch has-unit-tests dev-feedback => has-patch has-unit-
     tests needs-refresh
 * component:  General => Filesystem API


Comment:

 @borgesbruno Thanks for your patch and the unit tests.

 Can you please adjust your patch according our
 [https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/php/ coding standards]?

 Let's change the default value for `validate_file_to_edit()` too.

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


More information about the wp-trac mailing list