Changeset 25339 for branches/3.6
- Timestamp:
- 09/11/2013 03:28:20 AM (11 years ago)
- Location:
- branches/3.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.6
- Property svn:mergeinfo changed
/trunk/src merged: 25338
- Property svn:mergeinfo changed
-
branches/3.6/wp-includes/functions.php
r25325 r25339 263 263 return false; 264 264 } else { 265 // ensures ; or } exists but is not in the first X chars 266 if ( strpos( $data, ';' ) < 3 && strpos( $data, '}' ) < 4 ) 265 $semicolon = strpos( $data, ';' ); 266 $brace = strpos( $data, '}' ); 267 // Either ; or } must exist. 268 if ( false === $semicolon && false === $brace ) 269 return false; 270 // But neither must be in the first X characters. 271 if ( false !== $semicolon && $semicolon < 3 ) 272 return false; 273 if ( false !== $brace && $brace < 4 ) 267 274 return false; 268 275 }
Note: See TracChangeset
for help on using the changeset viewer.