diff --git a/includes/admin/class-sp-admin-settings.php b/includes/admin/class-sp-admin-settings.php index 4cae50d2..72b0b1bf 100644 --- a/includes/admin/class-sp-admin-settings.php +++ b/includes/admin/class-sp-admin-settings.php @@ -66,7 +66,7 @@ if ( ! class_exists( 'SP_Admin_Settings' ) ) : global $current_section, $current_tab; if ( empty( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'sportspress-settings' ) ) { - die( __( 'Action failed. Please refresh the page and retry.', 'sportspress' ) ); + die( esc_html__( 'Action failed. Please refresh the page and retry.', 'sportspress' ) ); } // Trigger actions @@ -303,13 +303,13 @@ if ( ! class_exists( 'SP_Admin_Settings' ) ) : // Section Titles case 'title': - echo '