Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#2624 closed defect (bug) (fixed)

Add Users via AJAX

Reported by: mdawaffe Owned by: mdawaffe
Priority: normal Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: ajax js list-manipulation users bg|has-patch bg|needs-testing
Cc: Focuses:

Description

But, wait! There's more! The attached patch:

  1. Hackaliciously allows adding new users of any defined role straight from users.php (i.e. without having to create a user of the default role and the promoting to the desired level).
  2. Allows for AJAX addition of users into already populated roles. Adding to roles with no membership falls back to normal behavior.
  3. Reengineers the error reporting in add_user(), edit_user(), users.php, user-edit.php and profile-update.php to use WP_Error
  4. Fixes a bug in list-manipulation JS and slightly prettifies its errors.

Attachments (2)

2624.diff​ (18.3 KB ) - added by mdawaffe 21 years ago.
More AJAX nonsense
users.js​ (949 bytes ) - added by mdawaffe 21 years ago.
Need the JS for this to work

Download all attachments as: .zip

Change History (5)

@mdawaffe
21 years ago

More AJAX nonsense

#1 @mdawaffe
21 years ago

  • Keywords bg|has-patch bg|needs-testing added
  • Owner changed from anonymous to mdawaffe
  • Status new → assigned

#2 @ryan
21 years ago

  • Resolution → fixed
  • Status assigned → closed

(In [3677]) AJAXify user addition. Props mdawaffe. fixes #2624

@mdawaffe
21 years ago

Need the JS for this to work

#3 @ryan
21 years ago

  • Resolution → fixed

(In [3680]) AJAXify user addition. Props mdawaffe. fixes #2624

Note: See TracTickets for help on using tickets.