| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Plugin Name: Plugins Condition | |
| 3 | + * Plugin Name: Plugins Condition & Site Check | |
| 4 | 4 | * Plugin URI: https://wordpress.org/plugins/plugins-condition/ |
| 5 | - * Description: Display plugins condition. | |
| 6 | - * Version: 1.09 | |
| 5 | + * Description: Displays plugin conditions and performs a basic site check. | |
| 6 | + * Version: 2.01 | |
| 7 | 7 | * Author: Katsushi Kawamori |
| 8 | 8 | * Author URI: https://riverforest-wp.info/ |
| 9 | 9 | * License: GPLv2 or later |
| 10 | 10 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| @@ -27,8 +27,12 @@ | ||
| 27 | 27 | You should have received a copy of the GNU General Public License |
| 28 | 28 | along with this program; if not, write to the Free Software |
| 29 | 29 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 30 | 30 | */ |
| 31 | + | |
| 32 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 33 | + exit; | |
| 34 | +} | |
| 31 | 35 | |
| 32 | 36 | if ( ! class_exists( 'PluginsConditionAdmin' ) ) { |
| 33 | 37 | require_once __DIR__ . '/lib/class-pluginsconditionadmin.php'; |
| 34 | 38 | } |