WordPress.org

Make WordPress Core

Opened 11 days ago

Closed 73 minutes ago

#50464 closed enhancement (fixed)

Add `delete_count` to `wp_removable_query_args()`

Reported by: ocean90 Owned by: 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 4 days ago.
Apply patch

Download all attachments as: .zip

Change History (4)

#1 @arpitgshah
5 days 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
4 days ago

Apply patch

#2 @ocean90
74 minutes ago

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

#3 @ocean90
73 minutes 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.