Make WordPress Core

Opened 22 months ago

Last modified 13 months 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: has-patch needs-refresh
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 22 months ago.

Download all attachments as: .zip

Change History (11)

@johnbillion22 months ago

comment:1 @johnbillion22 months ago

  • Keywords has-patch added

comment:2 @johnbillion22 months 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

comment:4 @johnbillion18 months 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).

comment:5 @DrewAPicture18 months 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 :)

comment:6 @jeremyfelt14 months 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.

comment:7 @mordauk14 months ago

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

comment:8 @SergeyBiryukov14 months 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.

comment:9 @wonderboymusic14 months ago

  • Keywords needs-refresh added

comment:10 @helen13 months ago

  • Milestone changed from 3.9 to Future Release

Sounds like this needs a new patch.

Note: See TracTickets for help on using tickets.