[wp-trac] [WordPress Trac] #16355: Clicking "Apply" in trash view shifts view back to All Items
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 24 06:21:01 UTC 2011
#16355: Clicking "Apply" in trash view shifts view back to All Items
--------------------------+-----------------------
Reporter: mrmist | Owner: nacin
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.1
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Comment (by nacin):
I can only reproduce on the Trash view when I actually select a bulk
action. It has nothing to do with permissions, either.
I'm noticing a few issues:
- It worked in 3.0. The only reason it did is because -- you'll like this
-- the wp_redirect() on line 70 didn't have an exit, and thus the switch
was evaluated (with $doaction never set), and then wp_redirect() becomes
sendback. That's now fixed, but we should instead when redirect back to
$sendback.
- $post_new_file is set too late in 3.1. Gah.
Patch fixes both.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16355#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list