WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12488 closed defect (bug) (fixed)

maybe_add_existing_user_to_blog() dies with a page title indicating an Error on success

Reported by: Denis-de-Bernardy Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords:
Focuses: Cc:

Description

two things:

  1. when you try to add yourself to an arbitrary blog by visiting /newbloguser/foo, it tells you that you've succeeded even though you haven't
  2. whether or not you succeed the browser's title tells you an error occured

Change History (4)

comment:1 wpmuguru4 years ago

  • Keywords needs-feedback added

Can you explain the process you followed to get the error in more detail?

comment:2 ocean904 years ago

  • Keywords needs-patch added; needs-feedback removed

Open domain.com/newbloguser/foo where domain.com is you multisite install.

You should get this message:

You have been added to this blog. Please visit the homepage or login using your username and password.

and HTML title is

<title>WordPress &rsaquo; Error</title>

comment:3 wpmuguru4 years ago

(In [14226]) fix site administrator add user to site logic, see #12488

comment:4 ocean904 years ago

  • Keywords needs-patch removed
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.