Make WordPress Core

Ticket #2505: 2505-extended.patch

File 2505-extended.patch, 820 bytes (added by szepter, 20 years ago)

extended patch, containing a fix against another similiar problem in the same file

  • D:/Eigene

     
    4444        }
    4545
    4646        if ( isset($_POST['save']) )
    47                 $location = "post.php?action=edit&post=$post_ID";
     47                $location = "post-new.php?action=edit&post=$post_ID";
    4848
    4949        header("Location: $location");
    5050        exit();
     
    107107        } elseif ($action == 'editattachment') {
    108108                $location = 'attachments.php';
    109109        } else {
    110                 $location = 'post.php';
     110                $location = 'post-new.php';
    111111        }
    112112        header ('Location: ' . $location); // Send user on their way while we keep working
    113113