WordPress.org

Make WordPress Core

Opened 8 years ago

Last modified 2 years ago

#13339 new enhancement

Add hook on network admin user forms

Reported by: bueltge Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: multisite Cc:

Description

On WP 3.0 it is possible to add new users as Super Admin, but they do not really assign each instance. So it would be useful when creating the user, if you have a selection of instances that are created and then selecting one with the checkbox where the user should get access.

Maybe it is possible to add a hook for add own fields, similar the possibilies on user-edit.php for profile fields.

Change History (5)

#1 @jwriteclub
8 years ago

Is this still in 3.0?

If it is, I'll give it a shot today, otherwise, someone update the milestone.

#2 @nacin
8 years ago

  • Keywords multisite added
  • Milestone changed from 3.0 to Future Release

I am honestly not sure what you mean by assigning instances.

We will be doing a general overhaul of the MS UI in a future release, so I doubt we will want to add a hook for which we must remain entirely backwards compatible in the future. Going to move to future for now.

#3 follow-up: @jeremyfelt
3 years ago

  • Summary changed from Hook on ms-users.php to Add hook on network admin user forms

Related #18709, in which the user_new_form action was added for additional user fields in single site.

The example in this ticket description mentions "instances", which I read as new sites. One possible use case of a hook in the new user form is to provide a method for adding a new (or existing) user to multiple sites.

It's possible that we still want to let this ride for a while until a newer UI is imagined, but I do agree on the usefulness of a hook here.

#4 in reply to: ↑ 3 @Bueltge
3 years ago

Replying to jeremyfelt:

It's possible that we still want to let this ride for a while until a newer UI is imagined, but I do agree on the usefulness of a hook here.

I don't know about a new UI, no timeline. Give it more information about the new UI and when will go live?

The hook is important for a lot of enterprise solutions and actually create a lot of developers not clean enhancements, because she miss this hook. I will address for this hook, there is useful for a lot of scenarios.

But I understand the statement, because we have markup inside the function and maybe this is a topic on a new UI.

#5 @chriscct7
2 years ago

@jeremyfelt any update?

Note: See TracTickets for help on using tickets.