Changeset 3219355
- Timestamp:
- 01/09/2025 02:24:39 AM (14 months ago)
- Location:
- xserver-migrator/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
packages/class-xserver-migrator-activator.php (modified) (1 diff)
-
packages/class-xserver-migrator.php (modified) (1 diff)
-
xserver-migrator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xserver-migrator/trunk/README.txt
r3198622 r3219355 4 4 Requires at least: 4.2.29 5 5 Tested up to: 6.7.1 6 Stable tag: 1.6. 56 Stable tag: 1.6.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 49 49 50 50 == Changelog == 51 52 = 1.6.6 = 53 * PHP8以上の場合にexec関数の利用可否を確認する処理を追加 51 54 52 55 = 1.6.5 = -
xserver-migrator/trunk/packages/class-xserver-migrator-activator.php
r1990326 r3219355 11 11 public static function activate() 12 12 { 13 if ( ! function_exists( 'exec' ) && version_compare( PHP_VERSION, '8.0.0', '>=' ) ) { 14 wp_die( 15 'exec関数が使用できないためプラグインを有効化できません。', 16 '', 17 array( 18 'link_text' => __( 'Go Back' ), 19 'link_url' => admin_url( 'plugins.php' ), 20 ) 21 ); 22 } 13 23 if ( ! file_exists( XSERVER_MIGRATOR_WORKSPACE_DIR ) ) { 14 24 @mkdir( XSERVER_MIGRATOR_WORKSPACE_DIR ); -
xserver-migrator/trunk/packages/class-xserver-migrator.php
r3131386 r3219355 27 27 // アクション追加 28 28 $this->bind_actions(); 29 30 if ( ! function_exists( 'exec' ) && version_compare( PHP_VERSION, '8.0.0', '>=' ) ) { 31 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 32 deactivate_plugins( XSERVER_MIGRATOR_PLUGIN_FILE_NAME ); 33 34 return; 35 } 29 36 30 37 if ( ! file_exists( XSERVER_MIGRATOR_WORKSPACE_DIR ) ) { -
xserver-migrator/trunk/xserver-migrator.php
r3163900 r3219355 16 16 * Plugin URI: https://ja.wordpress.org/plugins/xserver-migrator 17 17 * Description: エックスサーバー株式会社が提供するレンタルサーバーサービス「エックスサーバー」「wpX Speed」の「WordPress簡単移行機能」専用のプラグインです。 18 * Version: 1.6. 518 * Version: 1.6.6 19 19 * Author: XServer Inc. 20 20 * Author URI: https://www.xserver.ne.jp … … 31 31 // プラグイン名 32 32 define( 'XSERVER_MIGRATOR_PLUGIN_NAME', basename( plugin_dir_path( __FILE__ ) ) ); 33 34 // プラグインファイル名 35 define( 'XSERVER_MIGRATOR_PLUGIN_FILE_NAME', plugin_basename( __FILE__ ) ); 33 36 34 37 // プラグインディレクトリ
Note: See TracChangeset
for help on using the changeset viewer.