bookfresh/wordpress — pull request #1 by rafaelmaza (2013-12-30 15:07:37+00:00)
Title: Use capabilities instead of deprecated user levels

According to wordpress documentation, a capability should be provided in the 3rd param of this function instead of a user level, which is deprecated. This is the one I found most appropriate.

Documentation: http://codex.wordpress.org/Function_Reference/add_menu_page
Capabilities: http://codex.wordpress.org/Roles_and_Capabilities#Capabilities