e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

Feature: Remove jQuery.once dependency. Add jQuery 3 support. #4567

Closed CaMer0n closed 3 years ago

CaMer0n commented 3 years ago

Phase out the use of jquery.once() .
Test functionality with jQuery 3.

In e107_config.php :

define('e_DEBUG_JQUERY', 3);
CaMer0n commented 3 years ago

@Moc This will be an important note when e107 v2.3.1 is released. Should issues arise with old plugins or javascript errors, Admins can revert to jQuery 2 (less secure) by adding the following code to e107_config.php:

define('e_DEBUG_JQUERY', 2);