From 08f0d9a30b9cefa7855d950c0d528fc3ac32e950 Mon Sep 17 00:00:00 2001 From: Tom McFarlin Date: Fri, 17 May 2013 20:18:06 -0400 Subject: [PATCH] updating a reference to the plugin slug fixes #52 --- ChangeLog.md | 4 ++++ plugin-name/class-plugin-name.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 3e5654e..2d84b3f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/plugin-name/class-plugin-name.php b/plugin-name/class-plugin-name.php index 8956df8..43f6b57 100644 --- a/plugin-name/class-plugin-name.php +++ b/plugin-name/class-plugin-name.php @@ -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' )