[wp-trac] [WordPress Trac] #29191: Notice when activating an account on a multisite config
WordPress Trac
noreply at wordpress.org
Wed Aug 20 17:29:38 UTC 2014
#29191: Notice when activating an account on a multisite config
--------------------------------+-----------------------------
Reporter: imath | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses: multisite
--------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29554"]:
{{{
#!CommitTicketReference repository="" revision="29554"
`wpmu_activate_signup()` returns an `array` or `WP_Error`. The array keys
it returns can be different based on context of `$signup`. The return
value was previously `extract()`'d, so the value of `$blog_id` was
secretly undefined when being passed to `get_blogaddress_by_id()` in some
cases.
If `$result['blog_id']` is not set, make sure `$url` is set to an empty
string so that the proper "activated" message is shown to the user.
Props imath.
See [28373].
Fixes #29191.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29191#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list