1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02: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
*/
$this->plugin_screen_slug = add_plugins_page(
__('Page Title', 'plugin-name-locale'),
__('Menu Text', 'plugin-name-locale'),
__('read', 'plugin-name-locale'),
__('plugin-name', 'plugin-name-locale'),
array( $this, 'display_plugin_admin_page' )
__('Page Title', 'plugin-name-locale'),
__('Menu Text', 'plugin-name-locale'),
'read',
'plugin-name',
array( $this, 'display_plugin_admin_page' )
);
}