cycle2 icon indicating copy to clipboard operation
cycle2 copied to clipboard

issues with latest wordpress update

Open EileenWeb opened this issue 4 years ago • 7 comments

Hi,

There appears to be an issue with cycle2 and the latest wordpress update. I don't know if anyone else is having the same problem? We have been told that cycle2 would need to be upgraded (custom code in place on website). Is this necessary to upgrade? Happy to share the site that has cycle2, privately.

Thanks, Eileen.

EileenWeb avatar Aug 25 '20 03:08 EileenWeb

Anyone from Cycle2 able to answer this?

EileenWeb avatar Sep 02 '20 01:09 EileenWeb

Most likely you have issue from jQuery changes that have affected Cycle2.

jQuery 3 had breaking changes that affect Cycle2 operation.

Some forks (including one I maintain) have fixes to support Cycle2 with newer jQuery versions (3.x +).

**NOTE: Personally I do not support WordPress in any fashion - the updated files on my fork MAY help someone with experience updating "parts" of a wordpress site or plugin manually.

Fork here: https://github.com/thecarnie/cycle2

iam-sysop avatar Sep 17 '20 03:09 iam-sysop

I have updated my branch with changes as noted. Fixes include updates to support jQuery 3.x+ in the installation.

https://github.com/thecarnie/cycle2/releases/tag/2.1.6b

Testing and verification IS REQUIRED before putting into production.

iam-sysop avatar Sep 17 '20 16:09 iam-sysop

jQuery.type and jQuery.isFunction() are being flagged as deprecated by jQuery Migrate in WordPress 5.6 for jquery.cycle2.min.js. I am using jQuery.cycle2.min.js /*!

  • jQuery Cycle2; version: 2.1.6b build: 20200917
  • http://jquery.malsup.com/cycle2/
  • updated repo at https://github.com/thecarnie/cycle2/
  • Copyright (c) 2020 M. Alsup; Dual licensed: MIT/GPL */

webimagedesigns avatar Jan 21 '21 21:01 webimagedesigns

Thank you - I will investigate and push updates!

iam-sysop avatar Jan 22 '21 03:01 iam-sysop

Thank you! Will you post in the issue so I will know when the new code is pushed?

On Thu, Jan 21, 2021, 10:47 PM sysop [email protected] wrote:

Thank you - I will investigate and push updates!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/malsup/cycle2/issues/851#issuecomment-765101562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFHBUDDPQGDX4YOESDVRA3S3DYN3ANCNFSM4QKFPNQQ .

webimagedesigns avatar Jan 22 '21 11:01 webimagedesigns

An updated release with noted changes has been published downstream on my fork of cycle2.

Multiple fixes, patches, cleanups, and updates throughout.

See https://github.com/thecarnie/cycle2/master for details and commit history.

Brings current with all patches found and applied either in this repo or downstream in mine. I will assemble proper upstream pull request next for inclusion here.

Release bundle available at my fork here:

https://github.com/thecarnie/cycle2/releases/tag/2.1.6c

iam-sysop avatar Feb 02 '21 01:02 iam-sysop