Make WordPress Core

Opened 8 years ago

Last modified 7 years ago

#15456 closed defect (bug)

Warnings in wp-admin/user-new — at Version 3

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 ocean90)

  • 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)

Change History (5)

#1 @wpdavis
8 years ago

  • Cc wpdavis added

The add user page needs a little bit of work to make it usable — working on a patch right now.

#2 @wpdavis
8 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

8 years ago

Removed the existing_user_ variables, as they actually aren't needed

#3 @ocean90
8 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.

Note: See TracTickets for help on using tickets.