Update:
I’ve had some success by replacing line 4 in admin-menu.php from:
add_filter( ‘parent_file’, ‘amg_organize_menu’, 10, 1 );
to:
add_filter('custom_menu_order', '__return_true');
add_filter('menu_order', 'amg_organize_menu', 10, 1);
and line 129 to:
return $menu[0];
Just need to fix the permissions error on some pages now. I guess we need to attach an array of permissions aswell. If you return the $menu array before you unset some of it’s keys the permissions error goes away
-
This reply was modified 4 years, 7 months ago by hookedg.
-
This reply was modified 4 years, 7 months ago by hookedg.
-
This reply was modified 4 years, 7 months ago by hookedg.
-
This reply was modified 4 years, 7 months ago by hookedg.