1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-03 20:03:16 +03:00

removing inline tabs, not localizing permissions.

related #44
fixes #41
This commit is contained in:
Tom McFarlin 2013-05-11 17:51:36 -04:00
parent b1d15663eb
commit 83138fb29f

View file

@ -258,11 +258,11 @@ class PluginName {
* Change 'plugin-name' to the name of your plugin * Change 'plugin-name' to the name of your plugin
*/ */
$this->plugin_screen_slug = add_plugins_page( $this->plugin_screen_slug = add_plugins_page(
__('Page Title', 'plugin-name-locale'), __('Page Title', 'plugin-name-locale'),
__('Menu Text', 'plugin-name-locale'), __('Menu Text', 'plugin-name-locale'),
__('read', 'plugin-name-locale'), 'read',
__('plugin-name', 'plugin-name-locale'), 'plugin-name',
array( $this, 'display_plugin_admin_page' ) array( $this, 'display_plugin_admin_page' )
); );
} }