WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2624 closed defect (bug) (fixed)

Add Users via AJAX

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

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 11 years ago.
More AJAX nonsense
users.js (949 bytes) - added by mdawaffe 11 years ago.
Need the JS for this to work

Download all attachments as: .zip

Change History (5)

@mdawaffe
11 years ago

More AJAX nonsense

#1 @mdawaffe
11 years ago

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

#2 @ryan
11 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

@mdawaffe
11 years ago

Need the JS for this to work

#3 @ryan
11 years ago

  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.