diff --git a/class/hooks.php b/class/hooks.php index 091115e..70af711 100644 --- a/class/hooks.php +++ b/class/hooks.php @@ -1,9 +1,9 @@ %s', __( 'Support', 'footnotes' ) ); + $plugin_links[] = sprintf( '%s', __( 'Support', 'footnotes' ) ); // Append link to the settings page. - $p_arr_links[] = sprintf( '%s', admin_url( 'options-general.php?page=footnotes' ), __( 'Settings', 'footnotes' ) ); + $plugin_links[] = sprintf( '%s', admin_url( 'options-general.php?page=footnotes' ), __( 'Settings', 'footnotes' ) ); // Append link to the PayPal donate function. - $p_arr_links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); + $plugin_links[] = sprintf( '%s', __( 'Donate', 'footnotes' ) ); // Return new links. - return $p_arr_links; + return $plugin_links; } } diff --git a/class/init.php b/class/init.php index 342d3c8..896dbc6 100644 --- a/class/init.php +++ b/class/init.php @@ -1,59 +1,34 @@ initialize_dashboard(); diff --git a/footnotes.php b/footnotes.php index dbb5976..66d307d 100755 --- a/footnotes.php +++ b/footnotes.php @@ -109,7 +109,7 @@ require_once dirname( __FILE__ ) . '/includes.php'; // Add Plugin Links to the "installed plugins" page. $l_str_plugin_file = 'footnotes/footnotes.php'; -add_filter( "plugin_action_links_{$l_str_plugin_file}", array( 'MCI_Footnotes_Hooks', 'plugin_links' ), 10, 2 ); +add_filter( "plugin_action_links_{$l_str_plugin_file}", array( 'Hooks', 'get_plugin_links' ), 10, 2 ); // Initialize the Plugin. $g_obj_mci_footnotes = new MCI_Footnotes();