icecolo
Forum Replies Created
-
The issue is indeed resolved. I removed the patch code I had earlier and updated successfully. Now everything works perfectly. Thanks for all your help. The work you guys put into “The Events Calendar” plugin is amazing. It does everything I need it to do with a bit of flair.
Hey Faction23, thank you once again for taking the time looking into this and ultimately finding the solution. I completely understand the headache it can be locating bugs in a haystack of code. Especially when trying to keep up with all the browser differences as they are ever changing.
Based on your diagnoses, I was able to come up with, what I believe is, a temporary solution that others can try until the next update.
Copy and paste the code below:
/* Add this code to the top of the functions.php file within your Theme's or Child Theme's root folder. This code will deregister WP's default jQuery 1.8.3 library with jQuery 1.9.0 using the Google jQuery CDN only on the frunt-end. Hopefully this won't cause conflicts with other plugins and WP features. You may be able to remove this after the next WP update or "The Events Calendar" update; whichever comes first. */ function replace_jquery_enqueue() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', "https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js", false); wp_enqueue_script('jquery'); }} add_action('wp_enqueue_scripts', 'replace_jquery_enqueue');
This works like a charm for me in all browsers and I hope it helps everyone else.
Thanks for the prompt reply and fix attempt. However, I must report that adding “define(‘SCRIPT_DEBUG’, true);” to the wp-config.php file doesn’t change the behavior of the initial bug.
I added the line of code just under “define(‘WP_DEBUG’, false);” and the page did load all the full versions of CSS and JS files as intended except jQuery; which still loaded the minimum versions but I don’t think that mattered.
If it helps to know any of this, I’d like to add that I’m using the latest WP version 5.3.2. I’ve tested Firefox 16.0 and 22.0 and received the same result. Everything works like a charm in all other browsers; including my android phone.
I am content with the way it works now but will be looking forward to the next hotfix. Thanks for all your efforts!