Make WordPress Core


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

Remove remains from the old bookmarklet code

File:
1 edited

Legend:

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

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