The upgrade to version 7.3.1 messed up the month display — it no longer hides display of specified categories and the Legend Superpowers feature also appears to break with the upgrade. So basically the legend for the month display showed several lines of categories that are ticked off as hidden in the setting, immediately after the allowed categories. And clicking links to the allowed categories didn’t produce any response.
I tried replicating the issue on my end, but it’s working as expected both in versions 7.3.1 and 7.3.0
There could probably be a plugin/theme conflict on your end. Is it possible for you to create a staging version of your live site and update your plugin to 7.3.1 from there? After that, please send us the link of your calendar so we can investigate the issue further.
Andy — thanks for the code — I tried plugging that in and it did not resolve the problem.
Basically we have dozens of categories & subcategories set up on our calendar — but we only want a handful of main categories to display on the month view. And we do use the Legend Superpowers feature, because it really is useful with a crowded calendar. We haven’t bothered assiging colors to the many subcategories we want hidden. So what happens with the upgrade instead of just the legend with the assigned colors at the top, we have those items listed- but also another 5 lines of text with all the titles that are supposed to be hidden. And as noted, the Superpowers feature stops working.
Darian — I appreciate your suggestion, but I don’t have time to mess with a staging site. I rolled back to 7.3.0 and things are working fine — it is only an issue introduced with the update.
I did already try to make that change – it didn’t help. I tried again today — here’s a picture of my edit: I tried uploading screenshots to Imgur but that site is giving me problems right now.
I can tell you what I have found. With version 7.3.1, both with and without the changed line of code you provided, the console shows a Javascript error at legend-superpowers.js:129 TypeError: Cannot read properties of null (reading ‘length’)
For the categories, the source code for the page shows all hidden categories loaded as <li class=”teccc-hidden-category”> … but there is no corresponding CSS style set for that class. So of course the text is displayed on the page. When I rolled back to 7.30, the source code doesn’t show the hidden categories as being included at all.
And here is what the source code on the page looks like. Again, this items are displaying because there does not seem to be any corresponding css specs for the defined class:
To assist you more effectively, could you please set up a staging version of your live site and then update the Category Colors to the latest version from there?
If you haven’t created a staging site already, you can use the WP Staging plugin to do so.
Darian, I am sorrry but I don’t have time to set up a staging site — it’s easier for me to just stick with version 7.3.0 for now. I can see from other thread here that I am not the only one with this problem. I think it’s obvious that the 7.3.1 release is buggy, at least on some installation. I look forward to whenever you are ready to incorporate the many code changes you have suggested into your next release.