Log in with username/password: lyceum/lyceum

Changeset 956

Show
Ignore:
Timestamp:
12/28/06 02:57:54 (2 years ago)
Author:
jjb
Message:

Taking out this logic completely. I'm not quite sure when it is intended to come into effect. The worst that can happen is the user is redirected to a slightly non-ideal page after editing a post via some unknown UI pathway.

The next time the Lyceum code is compared to WordPress?, maybe I'll give this code a good hard look.

ticket:379

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.34/src/lyceum/wp-admin/post.php

    r865 r956  
    122122   } elseif ($_POST['submit']) { 
    123123      $location = 'post.php?message=1'; 
    124    } elseif (isset($_POST['referredby']) && $_POST['referredby'] != $_SERVER['HTTP_REFERER']) { 
    125     $location = $_POST['referredby']; 
    126     if ( $_POST['referredby'] == 'redo' ) 
    127        $location = get_permalink( $post_ID ); 
     124   // } elseif (isset($_POST['referredby']) && $_POST['referredby'] != $_SERVER['HTTP_REFERER']) { 
     125   // $location = $_POST['referredby']; 
     126   // if ( $_POST['referredby'] == 'redo' ) 
     127   //     $location = get_permalink( $post_ID ); 
    128128   } elseif ($action == 'editattachment') { 
    129129      $location = 'attachments.php'; 
Log in with username/password: lyceum/lyceum