Make WordPress Core

Ticket #46766: 46766.diff

File 46766.diff, 506 bytes (added by mukesh27, 6 years ago)

Patch.

  • wp-admin/includes/file.php

    diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php
    index bbae7bed4d..02dfae4c52 100644
    a b function unzip_file( $file, $to ) { 
    12791279                        if ( ! $wp_filesystem->is_dir( $dir ) ) {
    12801280                                $needed_dirs[] = $dir;
    12811281                        } else {
    1282                                 break; // A folder exists, therefor, we dont need the check the levels below this
     1282                                break; // A folder exists, therefor, we don't need the check the levels below this
    12831283                        }
    12841284                }
    12851285        }