Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Built from https://develop.svn.wordpress.org/trunk@29554 git-svn-id: http://core.svn.wordpress.org/trunk@29329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information