mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user