• Resolved montanari

    (@montanari)


    Hey there! First of all, I just wanted to say thanks for creating such a great plugin. I’ve really enjoyed using it so far! However, I did come across a couple of issues that I wanted to bring to your attention.

    The first problem I noticed is that menus and submenus with slug URLs containing the ‘&’ symbol don’t stay active. It seems that the issue is caused by uip-app.php on line 1135. The menu info is sent to the function “clean_ajax_input_width_code,” which uses the wp_kses function. The wp_kses function replaces the ‘&’ symbol with ‘&’ which causes problems when trying to verify if the parent menu is active in the admin-menu.js file on line 134 or if the submenu is active on line 145 . A possible fix to this issue is avoid using the wp_kses function for URLs or to replace the ‘&’ string back to ‘&’ in the admin-menu.js file.

    The second problem I noticed is that the plugin update icons doesn’t show up on Safari Version 16.1 using macOS Ventura 13.0 (although I didn’t test in other versions). Here’s a screenshot: https://imgur.com/a/5mmkjLK. I fixed this issue using the ‘white-space: nowrap’ CSS property in the ‘.[uip-admin-theme=true] .update-message p:before’ class:

    Finally, I was wondering if you could provide some guidance on how to use the frontend toolbar template? I’ve been having trouble getting it to work properly. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some menus not staying active and update icons missing’ is closed to new replies.