В консоли появилась ошибка в файле priority-menu.js

Ayt on WordPress engine latest version. The site maxg5.ru The console appeared errors in the file priority-menu.js. Because of this error in the mobile version, menu items are displayed in the wrong order as specified in the admin panel. I think this happened after I deleted the line 228 in wp-contentthemestwentynineteeninctemplate-functions.php:

add_filter( ‘wp_nav_menu’, ‘twentynineteen_add_ellipses_to_nav’, 10, 2 );

It was necessary to do this to disable this filter in the mobile version and impose a mobile menu as I need. How do you fix errors in the priority-menu.js file? Or maybe it was necessary to disable the filter somehow?

Read more here:: В консоли появилась ошибка в файле priority-menu.js

Leave a Reply

Your email address will not be published. Required fields are marked *