Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jQuery deprecations #916

Open
nlemoine opened this issue Jun 6, 2024 · 1 comment
Open

Fix jQuery deprecations #916

nlemoine opened this issue Jun 6, 2024 · 1 comment

Comments

@nlemoine
Copy link

nlemoine commented Jun 6, 2024

Describe the bug

My browser console is really cluttered with jQuery migrate deprecation warnings which is really not nice when developing. Most of them belongs to ACF scripts.

To Reproduce
Steps to reproduce the behavior:

  1. Edit a post on the block editor
  2. Open your devtools
  3. Select the "console" tab
  4. Look for your console.log between hundred of lines of deprecation warnings

Expected behavior

No deprecations.

Version Information:

  • WordPress Version: 6.5
  • PHP Version: 8.2
  • ACF Version: ACF PRO 6.3
  • Browser: Chrome

Additional context

Most of those deprecations are really easy to fix. It seems to be mostly event related functions like .keypress() -> .on('keypress'), etc.

Your are developers too, I'm pretty sure you can understand how annoying this can be 🙏

@mattgrshaw
Copy link
Member

Hi @nlemoine, thanks for the report.

I'm pretty sure you can understand how annoying this can be 🙏

Definitely! We'll get this fixed up in a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants