Changeset 48657 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 07/28/2020 08:07:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r48632 r48657 2357 2357 2358 2358 // Verify that file to be invalidated has a PHP extension. 2359 if ( ! preg_match( '/\.(?:php)$/i', $filepath) ) {2359 if ( '.php' !== strtolower( substr( $filepath, -4 ) ) ) { 2360 2360 return false; 2361 2361 }
Note: See TracChangeset
for help on using the changeset viewer.