| @@ -808,9 +808,9 @@ | ||
| 808 | 808 | * @param mixed ...$args |
| 809 | 809 | * @return false|string |
| 810 | 810 | */ |
| 811 | 811 | public static function file_get_contents( $file, ...$args ) { |
| 812 | - if ( realpath( $file ) === false || ! is_file( $file ) || ! is_readable( $file ) ) { | |
| 812 | + if ( ! is_file( $file ) || ! is_readable( $file ) ) { | |
| 813 | 813 | return false; |
| 814 | 814 | } |
| 815 | 815 | |
| 816 | 816 | return file_get_contents( $file, ...$args ); |