Opened 15 months ago
Closed 11 months ago
#4008 closed defect (bug) (fixed)
default settings are incorrect
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Administration | Version: | |
| Severity: | blocker | 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)
Probably too late to go on an option renaming spree. Let's match them to their old (and incorrectly hyphenated) counterparts.
comment:5
boonebgorges — 14 months 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.
- 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.
comment:10
DJPaul — 12 months 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.
comment:11
djpaul — 12 months ago
comment:12
boonebgorges — 12 months ago
I'll try to have a look at 4008-1.patch in the next few days.
comment:13
shanebp — 12 months 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.
comment:14
djpaul — 12 months ago
comment:16
djpaul — 12 months 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
comment:17
DJPaul — 11 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
My last commit is all bad.
comment:19
DJPaul — 11 months ago
- Resolution set to fixed
- Status changed from reopened to closed
comment:20
DJPaul — 11 months ago
- Keywords has-patch removed
- Resolution fixed deleted
- Severity changed from major to blocker
- Status changed from closed to reopened
This still isn't fixed. On a clean non-ms install, the following options are not ticked in the UI:
Account Deletion, Avatar Uploads, Group Creation
comment:21
djpaul — 11 months ago
- Resolution set to fixed
- Status changed from reopened to closed

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.