CherryFramework / cherry-plugin

Сompatibility: Cherry Framework v.3
8 stars 17 forks source link

incompatible with WordPress 5.5 #28

Open Justal123 opened 4 years ago

Justal123 commented 4 years ago

There seem to be a number of incompatibilities with WP5.5. I think these are due to the fact that WP is using an updated jQuery library so various functions that Cherry Framework uses are now deprecated

E.g .live() deprecated in wp-content/themes/CherryFramework/js/jquery.custom.admin.js

This prevents the toggle switch between visual and text editor in the WP editor from working and also breaks the pop ups for entering Short code parameters in the editor.

Other issues with .js files as well. .attr() in wp-content/themes/CherryFramework/admin/js/options-custom.js causes errors on the Cherry Option page within the WP admin.

Probably other issues too.

Can this be fixed? Is there a workaround I can use?

Justal123 commented 4 years ago

Just as an update, I have been working through some of the jQuery errors myself. Details of the changes I have made to fix many of them can be found here:

https://www.alananna.co.uk/blog/2020/08/cherry-framework-and-wordpress-5-5/

I hope that helps someone?

Justal123 commented 4 years ago

I've had a reply from the developers Template Monster who say they aren't intending to update Cherry Framework or the Cherry plugin to work with WordPress 5.5. They told me to stick with WordPress 5.4.

Not the best of replies seeing as they have 1000's of templates for sale on their site that rely on the Cherry Framework. Especially when it's such an easy fix to update the deprecated jQuery within it.

Al.