Make WordPress Core

Ticket #4752: import.php.diff

File import.php.diff, 458 bytes (added by tmountjr, 17 years ago)

keeps change from 5867 and fixes parens

  • import.php

     
    1616$import_root = ABSPATH.$import_loc;
    1717$imports_dir = @ opendir($import_root);
    1818if ($imports_dir) {
    19         while (($file = readdir($imports_dir) !== false) {
     19        while ($file = readdir($imports_dir) !== false) {
    2020                if ($file{0} == '.') {
    2121                        continue;
    2222                } elseif (substr($file, -4) == '.php') {