Opened 10 years ago
Closed 10 years ago
#5846 closed defect (bug) (fixed)
bp-legacy: "Blog Details" block not toggled on registration page
Reported by: | r-a-y | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | 1.7 |
Component: | Appearance - Template Pack | Keywords: | has-patch commit |
Cc: |
Description
In multisite, on the registration page and if blog registration is allowed, we show a blog creation form.
However, this form shouldn't be shown if the "Yes, I'd like to create a new site
" checkbox is unchecked.
bp-default used to do this; I don't think this functionality was ever ported to bp-legacy.
Attached patch ports this feature over to bp-legacy.
Attachments (1)
Change History (6)
#2
@
10 years ago
- Keywords reporter-feedback added
Is this implementation the same as to how BP-Default dealt with it?
#3
@
10 years ago
- Keywords reporter-feedback removed
Is this implementation the same as to how BP-Default dealt with it?
No it's not.
There was some inline JS in bp-default:
https://buddypress.trac.wordpress.org/browser/tags/1.9/bp-themes/bp-default/registration/register.php#L287
There must be a better way to do this (i.e. set it in HTML rather than change late with JS), but a good spot, nonetheless.