Make WordPress Core

Ticket #47668: patch.diff

File patch.diff, 490 bytes (added by zinigor, 6 years ago)
  • src/wp-admin/includes/class-wp-filesystem-direct.php

     
    564564                        $limit_file = false;
    565565                }
    566566
    567                 if ( ! $this->is_dir( $path ) || ! $this->is_readable( $dir ) ) {
     567                if ( ! $this->is_dir( $path ) || ! $this->is_readable( $path ) ) {
    568568                        return false;
    569569                }
    570570