moving this function back to the mla-admin-bar plugin