Opened 13 years ago
Closed 13 years ago
#4008 closed defect (bug) (fixed)
default settings are incorrect
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | blocker | Version: | |
Component: | Administration | Keywords: | |
Cc: |
Description
On a clean install of WP + BP (non-multisite), after completing the set up wizard, accepting the defaults, the settings panel shows some strange defaults. Previous versions of BP allow avatar upload and account deletion and group creation by default, so I'm calling this a bug.
Screenshot attached.
Attachments (5)
Change History (26)
#4
@
13 years ago
Probably too late to go on an option renaming spree. Let's match them to their old (and incorrectly hyphenated) counterparts.
#5
@
13 years ago
Probably too late to go on an option renaming spree. Let's match them to their old (and incorrectly hyphenated) counterparts.
+1. Much easier for now.
#6
@
13 years ago
- Keywords dev-feedback removed
When this is done, the phpdoc for the Settings component needs an overhaul as there's a lot of copy/paste remnants from bbPress.
#10
@
13 years ago
- Keywords has-patch needs-testing added
Please would someone eyeball and test 4008-1.patch. You'll need to test upgrades from 1.5, with different combinations of settings turned on/off.
I've assumed that we want the settings labelled as they are in trunk, which is why I've put some logic in the upgrade_1_6() method to flip the values around.
#13
@
13 years ago
Switching back and forth from 1.5.5 to trunk-6058, everything looks fine here...
Here are 3 'Settings' screenshots in 1.6 after changing settings in 1.5.5:
shanebp-1.png: 1.5.5 defaults to 1.6
shanebp-2.png: 1.5.5 all off to 1.6
shanebp-3.png: 1.5.5 with avatar uploads and delete accounts set to 'No' to 1.6
I didn't have any forums enabled for any of these.
More testing? Better testing? Lemme know.
#16
@
13 years ago
- Resolution set to fixed
- Status changed from new to closed
(In [6067]) Correct BuddyPress core settings values when upgrading from 1.5 to 1.6. Fixes #4008
#17
@
13 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
My last commit is all bad.
Our BP 1.5 option names as set in bp_get_default_options() are different from what is used in the settings screen markup in register_admin_settings(), of which the latter has a decidedly bbPress-inspired naming convention. Need to decide which to use, and handle any setting migration as necessary.