Make WordPress Core


Ignore:
Timestamp:
10/14/2009 05:53:49 AM (16 years ago)
Author:
azaozz
Message:

Remove remains from the old bookmarklet code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/page.php

    r12022 r12029  
    3232    $referer = preg_replace('|https?://[^/]+|i', '', wp_get_referer());
    3333
    34     if ( 'post' == $_POST['originalaction'] && !empty($_POST['mode']) && 'bookmarklet' == $_POST['mode'] ) {
    35         $location = $_POST['referredby'];
    36     } elseif ( 'post' == $_POST['originalaction'] && !empty($_POST['mode']) && 'sidebar' == $_POST['mode'] ) {
     34    if ( 'post' == $_POST['originalaction'] && !empty($_POST['mode']) && 'sidebar' == $_POST['mode'] ) {
    3735        $location = 'sidebar.php?a=b';
    3836    } elseif ( isset($_POST['save']) || isset($_POST['publish']) ) {
Note: See TracChangeset for help on using the changeset viewer.