Opened 7 years ago

Closed 7 years ago

Last modified 7 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:

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

Download all attachments as: .zip

Change History (5)

More AJAX nonsense

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

comment:2   ryan7 years ago

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

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

Need the JS for this to work

comment:3   ryan7 years ago

  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.