Select2 v3 Deprecation


目录

Select2 v3 Deprecation

What’s Happening?

Advanced Custom Fields (ACF) is deprecating support for version 3 of the Select2 JavaScript library. Future versions of ACF will only support Select2 v4.

Select2 v4 has been the default for many years in ACF and the vast majority of users will be unaffected by this change. Using Select2 v3 required specific code in your theme or a plugin.

Why Is This Changing?

How Does This Affect Me?

What Should I Do?

  1. Test your site with Select2 v4 enabled:
    • Remove any code or filters that force Select2 v3.
    • Review any Select2 fields and integrations.
  2. Update custom code:
  3. Contact plugin/theme authors if you rely on third-party code that requires Select2 v3.

Need Help?


Summary:
ACF is moving to Select2 v4 for better security and compatibility. Please update your code and test your site to ensure a smooth transition.


版本号 #1
由 壳壳虫 创建于 2026-08-29 15:44:03 UTC
由 壳壳虫 更新于 2026-08-29 15:44:03 UTC