mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.
git-svn-id: https://develop.svn.wordpress.org/trunk@20328 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -94,6 +94,7 @@ case 'update':
|
||||
fwrite( $f, $newcontent );
|
||||
fclose( $f );
|
||||
$location .= '&updated=true';
|
||||
$theme->cache_delete();
|
||||
}
|
||||
}
|
||||
wp_redirect( $location );
|
||||
|
||||
Reference in New Issue
Block a user