WordPress.org

Make WordPress Core

Ticket #18177: 18177.diff

File 18177.diff, 903 bytes (added by kawauso, 3 years ago)
  • wp-admin/includes/file.php

     
    261261                __( "Failed to write file to disk." ), 
    262262                __( "File upload stopped by extension." )); 
    263263 
    264         // All tests are on by default. Most can be turned off by $override[{test_name}] = false; 
     264        // All tests are on by default. Most can be turned off by $overrides[{test_name}] = false; 
    265265        $test_form = true; 
    266266        $test_size = true; 
    267267        $test_upload = true; 
     
    387387                __( "Failed to write file to disk." ), 
    388388                __( "File upload stopped by extension." )); 
    389389 
    390         // All tests are on by default. Most can be turned off by $override[{test_name}] = false; 
     390        // All tests are on by default. Most can be turned off by $overrides[{test_name}] = false; 
    391391        $test_form = true; 
    392392        $test_size = true; 
    393393