Closed (fixed)
Project:
Open Social
Version:
8.x-1.8
Component:
Code (back-end)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2017 at 09:36 UTC
Updated:
16 Dec 2018 at 20:09 UTC
Jump to comment: Most recent
Comments
Comment #2
leftComment #3
leftCreated PR to fix this.
https://github.com/goalgorilla/open_social/pull/761
Comment #4
kingdutchHey Lisa,
I think we can do better here. Instead of changing the if statements. Let's fix the underlying function that parses it.
I already made a related comment on the change that caused this regression here: https://github.com/goalgorilla/open_social/pull/669#discussion_r156110032
We can probably put the old code that was there before the refactor into the function. So then the contents of
improved_theme_settings_get_setting(see https://github.com/goalgorilla/open_social/commit/96db617d77080272c10ade... ) would become more like:The above code has been written in the comment field so may contain untested typoes. ^^
Comment #5
left@kingdutch
Thanks for the input. For now, we have merged the initial commit (https://github.com/goalgorilla/open_social/pull/761) as this bug has been open for a while and some people are keen to get it fixed.
This is not really a frontend task, so I am reclassifying it and leaving it as needs work so someone with more Php knowledge can implement a better solution based on your proposed solution.
Comment #6
leftComment #8
jaapjan commentedMarking as fixed for now as the original issue is solved as per pull/761. If we want to improve on it further we can do so in a different issue.