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

Replace plugin-name with $this->plugin_slug in add_action_links()

This commit is contained in:
Barry Ceelen 2013-09-18 10:54:34 +02:00
parent 895240626a
commit bbc070e7a7

View file

@ -331,7 +331,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
);