Make WordPress Core


Ignore:
Timestamp:
11/13/2010 09:53:55 AM (16 years ago)
Author:
nacin
Message:

Use square brackets instead of braces for string access. props hakre, fixes #13900.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import.php

    r16008 r16340  
    6363if ($imports_dir) {
    6464        while (($file = readdir($imports_dir)) !== false) {
    65                 if ($file{0} == '.') {
     65                if ($file[0] == '.') {
    6666                        continue;
    6767                } elseif (substr($file, -4) == '.php') {
Note: See TracChangeset for help on using the changeset viewer.