Issue #2176973 by sylus: Fix admin_menu implementation.