Ticket #2624 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

Add Users via AJAX

Reported by: mdawaffe Assigned to: 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

2624.diff (18.3 kB) - added by mdawaffe on 04/02/06 00:15:01.
More AJAX nonsense
users.js (0.9 kB) - added by mdawaffe on 04/02/06 00:55:08.
Need the JS for this to work

Change History

04/02/06 00:15:01 changed by mdawaffe

  • attachment 2624.diff added.

More AJAX nonsense

04/02/06 00:15:38 changed by mdawaffe

  • keywords changed from ajax js list-manipulation users to ajax js list-manipulation users bg|has-patch bg|needs-testing.
  • owner changed from anonymous to mdawaffe.
  • status changed from new to assigned.

04/02/06 00:31:33 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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

04/02/06 00:55:08 changed by mdawaffe

  • attachment users.js added.

Need the JS for this to work

04/02/06 00:57:13 changed by ryan

  • status changed from closed to closed.
  • resolution set to fixed.

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