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:
commit
93be2ae0b4
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ class Plugin_Name {
|
||||||
|
|
||||||
return array_merge(
|
return array_merge(
|
||||||
array(
|
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
|
$links
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue