User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302

git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-01-05 20:50:54 +00:00
parent c90c0e8600
commit a8d77cbae9
28 changed files with 52 additions and 52 deletions

View File

@@ -86,7 +86,7 @@ case 'update':
if (is_writeable($file)) {
//is_writable() not always reliable, check return value. see comments @ http://uk.php.net/is_writable
$f = fopen($file, 'w+');
if ($f !== FALSE) {
if ($f !== false) {
fwrite($f, $newcontent);
fclose($f);
$location = "theme-editor.php?file=$file&theme=$theme&a=te&scrollto=$scrollto";