moving this function back to the mla-admin-bar plugin
Merge branch 'develop'