Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#24512 new enhancement

Add user ID to query vars after adding a user

Reported by: johnbillion Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.0
Component: Users Keywords: needs-patch
Focuses: administration Cc:


When you add a new user (or existing user on Multisite) to your site, you're redirected to the same screen but the new user ID is not passed along as a query var in the URL.

I'd like to add some user-specific links to the screen in a plugin of mine and can't do so without a user ID.

Attachments (1)

24512.patch (3.0 KB) - added by johnbillion 5 years ago.

Download all attachments as: .zip

Change History (12)

5 years ago

#1 @johnbillion
5 years ago

  • Keywords has-patch added

#2 @johnbillion
5 years ago

  • Summary changed from Add post ID to query vars after adding a user to Add user ID to query vars after adding a user

#4 @johnbillion
5 years ago

Any chance of this making it into 3.7? It's a simple little patch that will help improve my User Switching plugin (you'll be able to switch straight into a user after creating them).

#5 @DrewAPicture
5 years ago

  • Milestone changed from Awaiting Review to Future Release

Since we're in Beta 1 I think we're past the point of enhancements, cmiiw. I could get behind this for 3.8, though :)

#6 @jeremyfelt
4 years ago

  • Component changed from Administration to Users
  • Focuses administration added
  • Milestone changed from Future Release to 3.9

This makes sense and patch applies under src/. Moving to 3.9.

#7 @mordauk
4 years ago

I've encountered a few scenarios where I needed this as well.

#8 @SergeyBiryukov
4 years ago

Looking at ticket:19470:19470.3.patch, wp-admin/network/site-users.php and wp-admin/network/user-new.php probably need these changes as well for consistency.

#9 @wonderboymusic
4 years ago

  • Keywords needs-refresh added

#10 @helen
4 years ago

  • Milestone changed from 3.9 to Future Release

Sounds like this needs a new patch.

#11 @chriscct7
3 years ago

  • Keywords needs-patch added; has-patch needs-refresh removed
Note: See TracTickets for help on using tickets.