Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#11587 closed defect (bug) (fixed)

Filter removed after bulk actions

Reported by: kovshenin's profile kovshenin Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.9
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Hey. I had to remove all posts in a certain category this morning, so I went to Edit posts, selected the category and pushed filter. 3 pages came up, I checked all the posts, selected bulk actions and moved to trash, and the filter is gone. So to remove the rest I have to select the category again and filter again. Not sure if this is intended because when removing the posts one by one, the filter remains.

Thanks.

Attachments (1)

edit.php.diff (662 bytes) - added by garyc40 14 years ago.

Download all attachments as: .zip

Change History (13)

#1 @scribu
14 years ago

  • Keywords bulk-actions added; bulk actions admin removed
  • Milestone changed from Unassigned to 3.0
  • Version changed from 3.0 to 2.9

#2 @hakre
14 years ago

  • Keywords needs-patch added

Confirmed, I was able to reproduce.

@garyc40
14 years ago

#3 @garyc40
14 years ago

The quick and dirty way to fix this is remove 'cat' from line 119. I don't know if there's a reason why 'cat' is deliberately removed when $_GETaction? is defined.

#4 @garyc40
14 years ago

  • Keywords 2nd-opinion reporter-feedback added

#5 @garyc40
14 years ago

  • Keywords has-patch added; needs-patch removed

#6 @nacin
14 years ago

We don't remove post_status, m (year/month), s (search). This looks good.

#7 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13987]) Don't remove a category filter after performing an action on edit.php. props garyc40, fixes #11587

#8 @nacin
14 years ago

  • Milestone changed from 3.0 to 2.9.3
  • Resolution fixed deleted
  • Status changed from closed to reopened

Okay, I tracked this down to [11807] during the 2.9 dev cycle. I confirmed this is technically a regression from 2.8.

Doubt this is important enough to be backported to the 2.9 branch, but I'll re-open in the 2.9.3 milestone anyway.

#9 @nacin
14 years ago

  • Keywords 2nd-opinion filter bulk-actions reporter-feedback removed

#10 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [14260]) Don't remove a category filter after performing an action on edit.php. props garyc40, fixes #11587 for 2.9.

#11 @nacin
13 years ago

  • Milestone 2.9.3 deleted

Milestone 2.9.3 deleted

#12 @nacin
13 years ago

  • Milestone set to 3.0
Note: See TracTickets for help on using tickets.