From 1dbf25a404c9509f4cba3ae62c036deb5b249165 Mon Sep 17 00:00:00 2001 From: aaronlad Date: Thu, 16 Jun 2016 02:12:01 +0100 Subject: [PATCH] Missing direct script access check --- templates/myaccount/dashboard.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/myaccount/dashboard.php b/templates/myaccount/dashboard.php index bff43a4567d..fc3eb53aac6 100644 --- a/templates/myaccount/dashboard.php +++ b/templates/myaccount/dashboard.php @@ -17,6 +17,10 @@ * @package WooCommerce/Templates * @version 2.6.0 */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly +} ?>