Checkmarks disappeared (6.9 issue?)
-
All of a sudden, the checkbox in the login page to “Remember Me” do not show the mark when clicked on. The same is true for the Categories checkboxes in the “All Posts” list (when using Quick Edit). The categories are checked when editing the post using Guttenberg, but don’t show as checked in the list. This doesn’t happen on the mobile browser, just the Desktop one (Firefox). Was there a change in the checkbox Javascript lately?
Thanks in advance,
Rafael
-
Thanks for your reply @janemathew. I followed your suggestion of clearing the browser cache and refresh but it did not fix the issue. I also checked the console, cleared it and brought the “All Posts” page without errors. I then changed the categories of a post by clicking and updating in “Quick Edit” (without seeing the marks) and the categories were modified, so the checkbox is working but there is no tick mark. Again, there were no error when I did all that. As for plugins, I did all this under “Troubleshooting mode” which disables all plugins and sets the environment to a default plain theme.
I can almost swear that the problem began when I moved to 6.9 but I’m not positive, it may have already been there just before. What I do know is that the checkboxes had ticks when selected in a very recent past.
Thanks again for your suggestions,
RafaelI’m having the same issues with the desktop Firefox, only it’s not just the checkboxes not showing a check mark, but the formatting icons are missing when you use the text editor, even within a theme (I’m using Avada). Until “upgrading” to WP 6.9, this was not an issue. Everything works fine using Chrome (which I hate). As far as I’m concerned, this is a major fail and it should be fixed. (Also, I tried the above recommendations, but nothing changed.)
I’m not able to reproduce the issue with WordPress 6.9 on Firefox 146, Vivaldi 7.7.3851.58 (Chromium 142.0.7444.228), or Safari 26.1.
This problem may be a plugin or theme conflict. Please attempt to deactivate all plugins and switch to the default Twenty Twenty-Four theme. If the problem goes away, re-activate them one by one to identify the source of the problem. If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to deactivate all plugins and change the theme for you while you’re still logged in without affecting normal visitors to your site.
Sorry, I got into trying to reproduce the problem and forgot you said you had already tried with all plugins deactivated and the theme switched.
Are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so, would you please try clearing the cache?
Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so. 🙂
@macmanx, yes, my tests were done under Troubleshooting mode, using the Health Check plugin you mentioned. I do use the Lightspeed cache plugin but Troubleshooting mode disables it as well (I just checked) and therefore I cannot purge the caches while in that mode.
I still don’t think it is related to a plugin but to a change in Javascript that apparently introduced an incompatibility.
Rafael
P.S. I edited this comment because I hadn’t seen your second reply.
-
This reply was modified 2 months, 1 week ago by
Rafael Bracho.
Right, and as mentioned, I’m unable to reproduce the issue with WordPress 6.9 on Firefox 146, Vivaldi 7.7.3851.58 (Chromium 142.0.7444.228), or Safari 26.1. So, I’m not sure what “change in Javascript that apparently introduced an incompatibility” you’re referring to.
Are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so, would you please try clearing the cache?
Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so. 🙂
Let’s not use edits, they don’t send subscription updates. 😉
Deactivating a caching plugin doesn’t necessarily disable the cache, many just leave the site frozen in the last cached state.
Please try clearing the cache, then disabling the caching plugin.
Does the issue continue?
If it does, then check with all plugins deactivated and the Twenty Twenty-Five theme in use.
Sorry, I didn’t know about the edits. I did a “Purge All” in Lightspeed, enabled Troubleshooting mode and switched to Twenty-Twenty-Five before going to the “All Posts” page and seeing the same behavior as before. I see that Twenty-Twenty-Five has an update I haven’t installed (I use Twenty-Twenty-Three) but I doubt that would fix it, would it?
The reason I zero in on Javascript is that the checkboxes are operating correctly, I can set and unset categories in the posts but without a checkmark showing whether it is set or unset. And the same behavior was introduced in the login page (the “Remember Me” checkbox). Whereas I don’t go checking and unchecking categories often, I have to login a lot because I switch my writing from the desktop to my mobile phone. I first saw the checkbox problem in the login page after moving to 6.9.
Thanks,
RafaelIf the issue continues under the updated Twenty Twenty-Five theme, try adding
define('CONCATENATE_SCRIPTS', false);to your wp-config.php file just below thedefine('DB_HOST'line.To do so, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and edit the file with a plain text editor. For details: https://developer.wordpress.org/apis/wp-config-php/#disable-javascript-concatenation
Which version of Firefox are you using exactly? Perhaps one of the 115esr versions? Could this be the bug, even if the effect is strange: https://core.trac.wordpress.org/ticket/64350 (a possible short-term solution is also described there).
@macmanx Yes, the issue continued after I updated Twenty-Twenty-Five. It is getting late here, I will go ahead with your suggestions tomorrow morning.
Thanks for the help!
Rafael@threadi Yes, it is Firefox 115ESR (I just checked). I am in one of those “third world countries” discussed in the thread you sent. Am I correctly assuming that I should use the latest attachment, i.e., https://core.trac.wordpress.org/attachment/ticket/64350/make-checkbox-usable-again.1.1.zip? Or, should I change the CSS file?
Beware that I sound dangerously knowledgeable, I am technically savvy but lack any familiarity with the WordPress environment.
Thanks,
Rafael-
This reply was modified 2 months, 1 week ago by
Rafael Bracho.
I would recommend the small plugin linked there. Or simply updating your browser.
@threadi, that worked beautifully, Id didn’t realize it was a plugin. Thank you very much.
@thewiseass, I recommend you try it. It fixed the checkboxes and may also fix your other problems.
@macmanx, thanks for your help.
Cheers,
RafaelThis problem is cause by 2 things:
1. WP now by default hides checkbox styling for Firefox:-webkit-appearance:none;but checked style uses a svg that is invalid:
= this will work on newer version as they will ignore the /” part,input[type=checkbox]:checked::before{ content:url("data:image/svg+xml; utf8,…")/''; }but FF 115 will fail to load this..
Manual solution (in your FF profile: userContent.css):
body input[type="checkbox"],
body input[type="radio"] {
-webkit-appearance: checkbox !important;
appearance: checkbox !important;
} -
This reply was modified 2 months, 1 week ago by
You must be logged in to reply to this topic.