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-includes/post-template.php

    r16334 r16340  
    728728        foreach ( (array) $keys as $key ) {
    729729            $keyt = trim($key);
    730             if ( '_' == $keyt{0} )
     730            if ( '_' == $keyt[0] )
    731731                continue;
    732732            $values = array_map('trim', get_post_custom_values($key));
Note: See TracChangeset for help on using the changeset viewer.