WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

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

Download all attachments as: .zip

Change History (5)

@mdawaffe9 years ago

More AJAX nonsense

comment:1 @mdawaffe9 years ago

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

comment:2 @ryan9 years ago

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

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

@mdawaffe9 years ago

Need the JS for this to work

comment:3 @ryan9 years ago

  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.