Initial auto-save checkin code from DarkCryst. No bug reports on it yet! Several known issues, including deleting cookies, moving the restore button, and other behavior probs.

git-svn-id: https://develop.svn.wordpress.org/trunk@2536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-04-16 16:31:38 +00:00
parent 5cf9bdb5ae
commit 61ebee5445
3 changed files with 82 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ $action = "delete";
// Fix submenu highlighting for pages.
if (false !== strpos($_SERVER['HTTP_REFERER'], 'edit-pages.php')) $submenu_file = 'page-new.php';
$editing = true;
switch($action) {
case 'post':