| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Plugin Name: Plugins Condition & Site Check | |
| 3 | + * Plugin Name: Plugins Condition | |
| 4 | 4 | * Plugin URI: https://wordpress.org/plugins/plugins-condition/ |
| 5 | - * Description: Displays plugin conditions and performs a basic site check. | |
| 6 | - * Version: 2.01 | |
| 5 | + * Description: Display plugins condition. | |
| 6 | + * Version: 1.06 | |
| 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 |
| @@ -28,14 +28,12 @@ | ||
| 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 | 31 | |
| 32 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 33 | - exit; | |
| 34 | -} | |
| 35 | - | |
| 36 | 32 | if ( ! class_exists( 'PluginsConditionAdmin' ) ) { |
| 37 | - require_once __DIR__ . '/lib/class-pluginsconditionadmin.php'; | |
| 33 | + require_once( dirname( __FILE__ ) . '/lib/class-pluginsconditionadmin.php' ); | |
| 38 | 34 | } |
| 39 | 35 | if ( ! class_exists( 'PluginsCondition' ) ) { |
| 40 | - require_once __DIR__ . '/lib/class-pluginscondition.php'; | |
| 36 | + require_once( dirname( __FILE__ ) . '/lib/class-pluginscondition.php' ); | |
| 41 | 37 | } |
| 38 | + | |
| 39 | + | |