updating a reference to the plugin slug

fixes #52
This commit is contained in:
Tom McFarlin 2013-05-17 20:18:06 -04:00
parent 4b05ac70b9
commit 08f0d9a30b
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## 2.5.1 (17 May 2013)
* Updating a reference to the plugin slug
## 2.5.0 (16 May 2013)
* Updating `readme.txt` to be up to standard with the current WordPress Plugin Repository demo

View File

@ -211,8 +211,8 @@ class PluginName {
* Change 'plugin-name' to the name of your plugin
*/
$this->plugin_screen_hook_suffix = add_plugins_page(
__( 'Page Title', $plugin_slug ),
__( 'Menu Text', $plugin_slug ),
__( 'Page Title', $this->plugin_slug ),
__( 'Menu Text', $this->plugin_slug ),
'read',
$this->plugin_slug,
array( $this, 'display_plugin_admin_page' )