Make WordPress Core

Changeset 15857


Ignore:
Timestamp:
10/20/2010 09:58:21 AM (14 years ago)
Author:
nacin
Message:

Remove wp-admin/sidebar.php. fixes #15164.

Location:
trunk/wp-admin
Files:
1 deleted
1 edited

Legend:

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

    r14815 r15857  
    5252 */
    5353function redirect_post($post_id = '') {
    54     if ( !empty($_POST['mode']) && 'sidebar' == $_POST['mode'] ) {
    55         if ( isset($_POST['saveasdraft']) )
    56             $location = 'sidebar.php?a=c';
    57         elseif ( isset($_POST['publish']) )
    58             $location = 'sidebar.php?a=b';
    59     } elseif ( isset($_POST['save']) || isset($_POST['publish']) ) {
     54    if ( isset($_POST['save']) || isset($_POST['publish']) ) {
    6055        $status = get_post_status( $post_id );
    6156
Note: See TracChangeset for help on using the changeset viewer.