Closed (fixed)
Project:
Writer
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2018 at 14:53 UTC
Updated:
19 Aug 2018 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
grasmash commentedAh, so this is because I made a subtheme, and writer hardcodes its theme name in theme_get_setting('content_width', 'writer'). It should be theme_get_setting('content_width') instead.
Comment #3
sergei_semipiadniy commentedHi all,
Agree with grasmash,
theme_get_settings()should be subtheme-friendly and have no use of 2d argument.Because if not given 2d argument - the current theme will automatically be used.
Comment #4
bryanbraun commentedHey @grasmash 👋. Good find.
Thanks for the patch @sergei_semipiadniy. I'm applying it now.
Comment #6
bryanbraun commentedI pushed it up to my 8.x-2.x branch. Would either of you be willing to confirm the fix?
Comment #7
bryanbraun commentedComment #8
sergei_semipiadniy commentedHi,
@bryanbraun, I`ve tested and it works like a charm,
Thanks!