From 7b27e73676d45b213c047432af9c74361fcebb6d Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Tue, 18 Jun 2024 11:10:29 -0600 Subject: [PATCH] Ensure the settings link on the plugin list screen goes to the new settings page --- mailchimp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailchimp.php b/mailchimp.php index 0b2b53c..1652746 100644 --- a/mailchimp.php +++ b/mailchimp.php @@ -90,8 +90,8 @@ function mailchimp_sf_plugin_init() { * @return array - Links */ function mailchimp_sf_plugin_action_links( $links ) { - $settings_page = add_query_arg( array( 'page' => 'mailchimp_sf_options' ), admin_url( 'options-general.php' ) ); - $settings_link = '' . __( 'Settings', 'mailchimp_i18n' ) . ''; + $settings_page = add_query_arg( array( 'page' => 'mailchimp_sf_options' ), admin_url( 'admin.php' ) ); + $settings_link = '' . esc_html__( 'Settings', 'mailchimp_i18n' ) . ''; array_unshift( $links, $settings_link ); return $links; }