Rank Math Help & Support menu being displayed incorrectly
-
Hello @rankmath
I have just found out that users who do not have access or permission to use RankMath are seeing the RankMath menu in their admin (RankMath->Help & Support).
After Googling the issue I found another support ticket where they were facing the exact same issue. It seems like it was fixed, but now the bug is back again…
https://www.ads-software.com/support/topic/rank-math-menu-displayed-for-disabled-user-roles/
I also tried to hide and restrict access to that useless menu. I was able to restrict access, but I was unsuccessful at hiding the menu. Here is the code I am using to try and hide the menu:
add_action( 'admin_menu', 'me_remove_rankmath_menu', 999 ); function me_remove_rankmath_menu() { if ( ! current_user_can( 'manage_options' ) ) { remove_menu_page( 'admin.php?page=rank-math' ); //Rank Math remove_submenu_page( 'rank-math', 'rank-math_page_rank-math-help' ); //Rank Math->Help & Support } }
On another note, your plugin is great and I really do appreciate it. Especially considering you are offering it for free. However, every update introduces so many bugs and many of them are old bugs which have already been fixed in previous versions. I think you really do need to look into your development workflow and carry out better testing as it wastes so much time on our side…
- The topic ‘Rank Math Help & Support menu being displayed incorrectly’ is closed to new replies.