WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11587 closed defect (bug) (fixed)

Filter removed after bulk actions

Reported by: 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 4 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 scribu4 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

comment:2 hakre4 years ago

  • Keywords needs-patch added

Confirmed, I was able to reproduce.

garyc404 years ago

comment:3 garyc404 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.

comment:4 garyc404 years ago

  • Keywords 2nd-opinion reporter-feedback added

comment:5 garyc404 years ago

  • Keywords has-patch added; needs-patch removed

comment:6 nacin4 years ago

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

comment:7 nacin4 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

comment:8 nacin4 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.

comment:9 nacin4 years ago

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

comment:10 nacin4 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.

comment:11 nacin4 years ago

  • Milestone 2.9.3 deleted

Milestone 2.9.3 deleted

comment:12 nacin4 years ago

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