[wp-trac] [WordPress Trac] #37005: Unit test for the wp_check_filetype method

WordPress Trac noreply at wordpress.org
Thu Apr 9 05:51:19 UTC 2020


#37005: Unit test for the wp_check_filetype method
-------------------------------------------------+-------------------------
 Reporter:  borgesbruno                          |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by markparnell):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     refresh
 * component:  General => Media


Comment:

 Looks like `wp_check_filetype()` now has tests thanks to #39550. Not sure
 if the one proposed here has any additional improvements that should be
 added in?

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


More information about the wp-trac mailing list