diff --git a/includes/fs-essential-functions.php b/includes/fs-essential-functions.php index 84ffcbe0..af13f4c9 100644 --- a/includes/fs-essential-functions.php +++ b/includes/fs-essential-functions.php @@ -10,6 +10,9 @@ * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 * @since 1.1.5 */ + if ( ! defined( 'ABSPATH' ) ) { + exit; + } if ( ! function_exists( 'fs_normalize_path' ) ) { if ( function_exists( 'wp_normalize_path' ) ) { diff --git a/includes/managers/class-fs-debug-manager.php b/includes/managers/class-fs-debug-manager.php index 5364712d..948d3546 100644 --- a/includes/managers/class-fs-debug-manager.php +++ b/includes/managers/class-fs-debug-manager.php @@ -6,6 +6,9 @@ * @package Freemius * @since 2.6.2 */ + if ( ! defined( 'ABSPATH' ) ) { + exit; + } class FS_DebugManager { diff --git a/templates/checkout.php b/templates/checkout.php index 00f1002b..909dc8c6 100644 --- a/templates/checkout.php +++ b/templates/checkout.php @@ -5,7 +5,9 @@ * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 * @since 2.9.0 */ - + if ( ! defined( 'ABSPATH' ) ) { + exit; + } /** * @var array $VARS * @var Freemius $fs