v2.1.0 No Longer Loads Custom Theme
-
For my non-WordPress coding I use Notepad++. It has a theme that is colors/black on white background. Gotten very used to it and there’s nothing even close in the default themes, so I created a custom CSS section a few versions back and added it to the plugin CSS files, then added a corresponding title of my theme to css.json. Versions up to 2.0.1 have worked fine.
Debugging, I used Notepad++ Compare to check for diffs. Most were in .js files. Then began swapping out files between the two versions to see what may let my theme display again. Turns out that only loading the v2.0.1 html-editor-syntax-highlighter.php, with the v2.1.0 files in /dist, allows it to work.
However, the only diffs between the two php files are the four version lines in the header comment section. Nothing in the running code outside the comment is different.
Well, that’s interesting. So, I altered the commented line:
* Version: 2.1.0
to:
* Version: 2.0.1
and it works. Altered the line to:
* Version: 2.1
and it works. For some reason, the code doesn’t like ‘2.1.0’. Huh?
- The topic ‘v2.1.0 No Longer Loads Custom Theme’ is closed to new replies.