Hello @krzxsiek
Please send a screenshot of the error and write where and when it appeared.
Widzę że jesteś Polakiem to szybciej i łatwiej mi będzie napisać po polsku 🙂
Problem występuje w panelu administracyjnym a dokładnie na stronie wtyczki “jQuery Migrate Helper” /wp-admin/tools.php?page=jqmh
Musisz dostosować funkcje .click() która jest przestarzała w wersji jQuery 3.5.1
Zamiast .click(function() {
Powinno być .on(‘click’, function() {
Czyli w pliku admin-notice.min.js powinno być
notice_button_close.on('click', close_notice );
notice_button_hide.on('click', function( e ) {
e.preventDefault();
is_permanently = true;
notice_button_close.trigger('click');
} );
zamiast aktualnego
notice_button_close.click( close_notice );
notice_button_hide.click( function( e ) {
e.preventDefault();
is_permanently = true;
notice_button_close.click();
} );
Nie jestem w 100% pewny czy dobrze to poprawiłem ale wydaje mi się że tak.
Cześć @krzxsiek
Dzięki za dodatkowe informacje. Nasz Developer uwzględni tę poprawkę przy jednej z kolejnych aktualizacji.
Odezwę się w tym wątku gdy taka aktualizacja będzie dostępna.
Regulamin forum wymaga od nas używania języka angielskiego. Inny użytkownik z takim samym problemem nie znajdzie rozwiązania jeżeli wątek będzie po polsku.
—
Hello
Thanks for the additional information. Our Developer will consider this fix in one of the next updates.
I will post in this thread when such an update is available.
The forum regulations require us to use the English language. Another user with the same issue will not find a solution if the thread is in Polish.
Rozumiem i dziękuję za pomoc 🙂 Angielski jest u mnie na trochę słabym poziome także posłużę się translatorem.
I understand and thank you for help 🙂 English is a bit weak for me, so I will use a translator.
The problem occurs in the administration panel, more precisely on the “jQuery Migrate Helper” plugin page /wp-admin/tools.php?page=jqmh
You need change the .click () function which is deprecated in jQuery 3.5.1
Instead of .click (function () {
Should be .on(‘click’, function () {
So in admin-notice.min.js there should be
notice_button_close.on('click', close_notice );
notice_button_hide.on('click', function( e ) {
e.preventDefault();
is_permanently = true;
notice_button_close.trigger('click');
} );
instead of the current one
notice_button_close.click( close_notice );
notice_button_hide.click( function( e ) {
e.preventDefault();
is_permanently = true;
notice_button_close.click();
} );
I am not 100% sure if I corrected it correctly but I think so.
Cześć @krzxsiek
Dostępna jest już nowa wersja 2.9.2. Zawiera ona obiecaną poprawkę.
—
Hello
New version 2.9.2 is available. It contains a fix for the reported issue.