From a3adbc2f079703fc98e761156d390abad9034aa3 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Fri, 11 Aug 2017 16:28:30 -0400 Subject: [PATCH] Updated check for all common plugin PHP files being called directly and now sending user to /assets/404.html --- uninstall.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/uninstall.php b/uninstall.php index c14e7a2..a89db67 100644 --- a/uninstall.php +++ b/uninstall.php @@ -16,15 +16,6 @@ die('uninstall not configured - See plugin uninstall.php script!'); * @link http://dev.gaslightmedia.com/ */ -/********************************************************************** - * NOTE: THIS IS A EVENTS FILE - DO NOT USE UNMODIFIED - * - * Please change all references to events, Events, or EVENTS to a name - * appropriate for your new Add-On. - * - * Remove this message before using this file in production! - **********************************************************************/ - // Check that we're being called by WordPress. if (!defined('ABSPATH')) { header("Location: http://".$_SERVER['SERVER_NAME']."/error/404.html"); -- 2.17.1