Make WordPress Core

Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#11587 closed defect (bug) (fixed)

Filter removed after bulk actions

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

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 17 years ago.

Download all attachments as: .zip

Change History (13)

#1 @scribu
17 years ago

  • Keywords bulk-actions added; bulk actions admin removed
  • Milestone Unassigned3.0
  • Version 3.02.9

#2 @hakre
17 years ago

  • Keywords needs-patch added

Confirmed, I was able to reproduce.

@garyc40
17 years ago

#3 @garyc40
17 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
17 years ago

  • Keywords 2nd-opinion reporter-feedback added

#5 @garyc40
17 years ago

  • Keywords has-patch added; needs-patch removed

#6 @nacin
16 years ago

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

#7 @nacin
16 years ago

  • Resolutionfixed
  • Status newclosed

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

#8 @nacin
16 years ago

  • Milestone 3.02.9.3
  • Resolution fixed
  • Status closedreopened

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
16 years ago

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

#10 @nacin
16 years ago

  • Resolutionfixed
  • Status reopenedclosed

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

#11 @nacin
16 years ago

  • Milestone 2.9.3

Milestone 2.9.3 deleted

#12 @nacin
16 years ago

  • Milestone3.0
Note: See TracTickets for help on using tickets.