Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#50464 closed enhancement (fixed)

Add `delete_count` to `wp_removable_query_args()`

Reported by: ocean90's profile ocean90 Owned by: ocean90's profile ocean90
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Administration Keywords: good-first-bug has-patch
Focuses: Cc:

Description

delete_count is set in the redirect URL after a user has been deleted. It's only used once to print the success message on wp-admin/users.php together with update argument which is already part of wp_removable_query_args().

Attachments (1)

50464.patch (326 bytes) - added by opurockey 3 years ago.
Apply patch

Download all attachments as: .zip

Change History (4)

#1 @arpitgshah
3 years ago

Do we need to set message for one time only whenever multiple users are going to remove from the list of the users page?

Can you please explain more about the issues?

@opurockey
3 years ago

Apply patch

#2 @ocean90
3 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Future Release to 5.5

#3 @ocean90
3 years ago

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

In 48319:

Administration: Add delete_count to wp_removable_query_args().

It's a single-use URL parameter that does not need to be passed to canonical URLs in the admin.

Props opurockey.
Fixes #50464.

Note: See TracTickets for help on using tickets.