WPIntell

Source evidence

Plugin Broken by WordPress5.5

PageMenu · support · 2020-08-21T17:49:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
LordGoran unresolved
Since I updated to wordpress5.5 I’ve been having issues with many of my plugins needing to update their code. The error is reported as “jquery.fn.live() is deprecated”. In the meta-template.php file in this plugin, on line 90… This line: jQuery(‘.menu-item-has-children input[type=checkbox]’).live(‘click’, function() { Needs to be edited to: jQuery(‘.menu-item-has-children input[type=checkbox]’).on(‘click’, function() { This edit seems to have corrected my issue. Maybe it will help- with yours too. Goran I verify LordGoran’s statement according to jQuery documentation Note: This API has been removed in jQuery 1.9; please use on() instead. Hello Author, jQuery().live must be changed to jQuery().on as WordPress stopped support do jquery-migrate on versions 5.5+ This is causing block to plugins like WpBakery. Quick fix: example.com/wp-admin/plugin-editor.php?file=page-menu%2Fmeta-template.php&plugin=page-menu%2Fpagemenu.php On line 90 change: jQuery(‘.menu-item-has-children input[type=checkbox]’).live(‘click’, function() { to jQuery(‘.menu-item-has-children input[type=checkbox]’).on(‘click’, function() { I had the same problem. @zarausto fix solved it perfectly. Thank you! Let’s hope the author fix it too in the next update.

Comments

3 shown
Konstantinos Raktivan 2020-09-09T10:28:00+00:00

I verify LordGoran’s statement according to jQuery documentation Note: This API has been removed in jQuery 1.9; please use on() instead.

Zarausto 2020-09-16T18:42:00+00:00

Hello Author, jQuery().live must be changed to jQuery().on as WordPress stopped support do jquery-migrate on versions 5.5+ This is causing block to plugins like WpBakery. Quick fix: example.com/wp-admin/plugin-editor.php?file=page-menu%2Fmeta-template.php&plugin=page-menu%2Fpagemenu.php On line 90 change: jQuery(‘.menu-item-has-children input[type=checkbox]’).live(‘click’, function() { to jQuery(‘.menu-item-has-children input[type=checkbox]’).on(‘click’, function() {

miguel1970 2020-09-28T06:33:00+00:00

I had the same problem. @zarausto fix solved it perfectly. Thank you! Let’s hope the author fix it too in the next update.