| @@ -2,15 +2,14 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Plugins Condition |
| 4 | 4 | * Plugin URI: https://wordpress.org/plugins/plugins-condition/ |
| 5 | 5 | * Description: Display plugins condition. |
| 6 | - * Version: 1.01 | |
| 6 | + * Version: 1.09 | |
| 7 | 7 | * Author: Katsushi Kawamori |
| 8 | 8 | * Author URI: https://riverforest-wp.info/ |
| 9 | - * License: GPL2 | |
| 9 | + * License: GPLv2 or later | |
| 10 | 10 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 | 11 | * Text Domain: plugins-condition |
| 12 | - * Domain Path: /languages | |
| 13 | 12 | * |
| 14 | 13 | * @package Plugins Condition |
| 15 | 14 | */ |
| 16 | 15 | |
| @@ -29,22 +28,10 @@ | ||
| 29 | 28 | along with this program; if not, write to the Free Software |
| 30 | 29 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 31 | 30 | */ |
| 32 | 31 | |
| 33 | -add_action( 'plugins_loaded', 'plugins_condition_load_textdomain' ); | |
| 34 | -/** ================================================== | |
| 35 | - * i18n | |
| 36 | - * | |
| 37 | - * @since 1.00 | |
| 38 | - */ | |
| 39 | -function plugins_condition_load_textdomain() { | |
| 40 | - load_plugin_textdomain( 'plugins-condition' ); | |
| 41 | -} | |
| 42 | - | |
| 43 | 32 | if ( ! class_exists( 'PluginsConditionAdmin' ) ) { |
| 44 | - require_once( dirname( __FILE__ ) . '/lib/class-pluginsconditionadmin.php' ); | |
| 33 | + require_once __DIR__ . '/lib/class-pluginsconditionadmin.php'; | |
| 45 | 34 | } |
| 46 | 35 | if ( ! class_exists( 'PluginsCondition' ) ) { |
| 47 | - require_once( dirname( __FILE__ ) . '/lib/class-pluginscondition.php' ); | |
| 36 | + require_once __DIR__ . '/lib/class-pluginscondition.php'; | |
| 48 | 37 | } |
| 49 | - | |
| 50 | - | |