#15456 closed defect (bug) (fixed)
Warnings in wp-admin/user-new
Reported by: | PeteMall | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Warnings/Notices | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
- NOTICE: wp-admin/user-new.php:231 - Undefined variable: new_user_email
- Notice: wp-admin/user-new.php:20 - Undefined variable: s (PHP 5.3.2 specific)
- Notice: Undefined property: stdClass::$blogid in wp-includes/ms-functions.php:1390 (add a user without sending mail)
Attachments (3)
Change History (11)
#2
@
14 years ago
- Keywords has-patch added; needs-patch removed
Patch attached.
Summary:
*removed the anchors, as the errors display above them, which is potentially confusing to the user.
*set the vars for adding existing users to blogs to false as default in order to avoid stepping on the other form's toes, filling in the wrong fields and errors when submitting the new user form
*made sure noconfirmation stays checked
#3
@
14 years ago
- Component changed from Administration to Warnings/Notices
- Description modified (diff)
- Keywords needs-patch added; has-patch removed
- Summary changed from Warning in wp-admin/user-new to Warnings in wp-admin/user-new
Some other warnings.
@
14 years ago
Fixes sprintf to use single quotes, makes sure the user is submitting the multisite form before trying to add a user to the blog to avoid errors.
Note: See
TracTickets for help on using
tickets.
The add user page needs a little bit of work to make it usable — working on a patch right now.