1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02:00

Merge pull request #80 from barryceelen/patch-3

Replace plugin-name with $this->plugin_slug in add_action_links()
This commit is contained in:
Tom McFarlin 2013-09-18 06:14:50 -07:00
commit 93be2ae0b4

View file

@ -330,7 +330,7 @@ class Plugin_Name {
return array_merge(
array(
'settings' => '<a href="' . admin_url( 'plugins.php?page=plugin-name' ) . '">' . __( 'Settings', $this->plugin_slug ) . '</a>'
'settings' => '<a href="' . admin_url( 'plugins.php?page=' . $this->plugin_slug ) . '">' . __( 'Settings', $this->plugin_slug ) . '</a>'
),
$links
);