#301 closed defect (bug) (fixed)
New user activation
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | global variables, missing globals | |
Cc: | greg@… |
Description
Applies to BuddyPress trunk version 817: bp-core/bp-core-activation.php
If a user signs up to become a member but does not want to create a blog, the anchors created for "View your site" and "Login" that are provided by the function "bp_core_activation_do_activation" do not contain a valid domain names.
I have fixed my version of the code and tested it by supplying the following missing global variables in the following function calls:
function bp_core_activation_set_headers() {
global $wp_object_cache;
...
...
} end function
function bp_core_activation_do_activation() {
global $current_site, $blog_id, $user_id; ?>
...
...
} end function
Milestone Core 1.0 deleted