Make WordPress Core


Ignore:
Timestamp:
11/13/2010 09:53:55 AM (11 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-includes/functions.php

    r16303 r16340  
    20822082        return true;
    20832083
    2084     if ( strlen($path) == 0 || $path{0} == '.' )
     2084    if ( strlen($path) == 0 || $path[0] == '.' )
    20852085        return false;
    20862086
Note: See TracChangeset for help on using the changeset viewer.