Changeset 690
- Timestamp:
- 04/19/06 23:04:15 (2 years ago)
- Files:
-
- trunk/src/lyceum/wp-admin/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/lyceum/wp-admin/post.php
r666 r690 112 112 113 113 if ($_POST['save']) { 114 $location = "post.php?token=".formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID";//might not be ideal for all cases -jjb114 $location = 'post.php?token='.formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID";//might not be ideal for all cases -jjb 115 115 // $location = $_SERVER['HTTP_REFERER']; 116 116 } elseif ($_POST['updatemeta']) { 117 $location = "post.php?token=".formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=2#postcustom";//might not be ideal for all cases -jjb117 $location = 'post.php?token='.formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=2#postcustom";//might not be ideal for all cases -jjb 118 118 // $location = $_SERVER['HTTP_REFERER'] . '&message=2#postcustom'; 119 119 } elseif ($_POST['deletemeta']) { 120 $location = "post.php?token=".formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=3#postcustom";//might not be ideal for all cases -jjb120 $location = 'post.php?token='.formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=3#postcustom";//might not be ideal for all cases -jjb 121 121 // $location = $_SERVER['HTTP_REFERER'] . '&message=3#postcustom'; 122 } elseif ($_POST['submit']) { 123 $location = 'post.php?message=1'; 122 124 } elseif (isset($_POST['referredby']) && $_POST['referredby'] != $_SERVER['HTTP_REFERER']) { 123 125 $location = $_POST['referredby'];
