Changeset 3174213
- Timestamp:
- 10/23/2024 10:13:40 AM (17 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 1 deleted
- 5 edited
- 8 copied
-
tags/3.2.6 (deleted)
-
tags/3.2.7 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.2.7/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.2.7/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.2.7/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (2 diffs)
-
tags/3.2.7/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.2.7/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (4 diffs)
-
tags/3.2.7/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (1 diff)
-
tags/3.2.7/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (2 diffs)
-
trunk/index.php (modified) (2 diffs)
-
trunk/mxp-login-path.php (modified) (1 diff)
-
trunk/mxp-site-manager.php (modified) (4 diffs)
-
trunk/mxp-snippets.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.2.7/index.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 use SearchReplace; 40 40 use Utility; 41 static $VERSION = '3.2. 6';41 static $VERSION = '3.2.7'; 42 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 43 43 protected static $instance = null; -
mxp-dev-tools/tags/3.2.7/mxp-login-path.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.2.7/mxp-site-manager.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 class MDTSiteManager { 40 40 public $plugin_slug = 'mdt-site-manager'; 41 public static $VERSION = '3.2. 6';41 public static $VERSION = '3.2.7'; 42 42 43 43 public function __construct() { … … 60 60 61 61 public function plugins_loaded() { 62 // 避免單獨啟用時呼叫判斷 is_super_admin() 噴錯63 if (!function_exists('wp_get_current_user')) {64 include_once ABSPATH . "wp-includes/pluggable.php";65 }66 62 // 新增「設定」中的外掛選單 67 63 if (is_multisite()) { … … 160 156 wp_send_json(array('code' => 401, 'msg' => '錯誤的請求參數。')); 161 157 } 162 if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard') || !is_super_admin()) {158 if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard')) { 163 159 wp_send_json(array('code' => 401, 'msg' => '錯誤的請求驗證。')); 164 160 } -
mxp-dev-tools/tags/3.2.7/mxp-snippets.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.2.7/readme.txt
r3174193 r3174213 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.6 8 Stable tag: 3.2. 68 Stable tag: 3.2.7 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 78 78 == Changelog == 79 79 80 = 3.2. 6=80 = 3.2.7 = 81 81 82 82 * 調整站點管理的顯示與使用的權限設計 -
mxp-dev-tools/trunk/index.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 use SearchReplace; 40 40 use Utility; 41 static $VERSION = '3.2. 6';41 static $VERSION = '3.2.7'; 42 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 43 43 protected static $instance = null; -
mxp-dev-tools/trunk/mxp-login-path.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 class MDTSiteManager { 40 40 public $plugin_slug = 'mdt-site-manager'; 41 public static $VERSION = '3.2. 6';41 public static $VERSION = '3.2.7'; 42 42 43 43 public function __construct() { … … 60 60 61 61 public function plugins_loaded() { 62 // 避免單獨啟用時呼叫判斷 is_super_admin() 噴錯63 if (!function_exists('wp_get_current_user')) {64 include_once ABSPATH . "wp-includes/pluggable.php";65 }66 62 // 新增「設定」中的外掛選單 67 63 if (is_multisite()) { … … 160 156 wp_send_json(array('code' => 401, 'msg' => '錯誤的請求參數。')); 161 157 } 162 if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard') || !is_super_admin()) {158 if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard')) { 163 159 wp_send_json(array('code' => 401, 'msg' => '錯誤的請求驗證。')); 164 160 } -
mxp-dev-tools/trunk/mxp-snippets.php
r3174193 r3174213 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 610 * Version: 3.2. 69 * Stable tag: 3.2.7 10 * Version: 3.2.7 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/readme.txt
r3174193 r3174213 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.6 8 Stable tag: 3.2. 68 Stable tag: 3.2.7 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 78 78 == Changelog == 79 79 80 = 3.2. 6=80 = 3.2.7 = 81 81 82 82 * 調整站點管理的顯示與使用的權限設計
Note: See TracChangeset
for help on using the changeset viewer.