Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#50464 closed enhancement (fixed)

Add `delete_count` to `wp_removable_query_args()`

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

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 6 years ago.
Apply patch

Download all attachments as: .zip

Change History (4)

#1 @arpitgshah
6 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
6 years ago

Apply patch

#2 @ocean90
6 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone Future Release5.5

#3 @ocean90
6 years ago

  • Owner set to ocean90
  • Resolutionfixed
  • Status newclosed

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.