WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/13/2009 03:47:10 AM (12 years ago)
Author:
azaozz
Message:

Fix warning when trashing a post from the write screen, fixes #11131

File:
1 edited

Legend:

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

    r12121 r12182  
    161161        $sendback = admin_url('edit-pages.php?trashed=1&ids='.$post_id);
    162162    else
    163         $sendback = add_query_arg( array('trashed' => 1, ids => $post_id), $sendback );
     163        $sendback = add_query_arg( array('trashed' => 1, 'ids' => $post_id), $sendback );
    164164
    165165    wp_redirect($sendback);
Note: See TracChangeset for help on using the changeset viewer.