Changeset 3174193
- Timestamp:
- 10/23/2024 09:55:29 AM (17 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 5 edited
- 8 copied
-
tags/3.2.6 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.2.6/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.2.6/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.2.6/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (2 diffs)
-
tags/3.2.6/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.2.6/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (5 diffs)
-
tags/3.2.6/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (1 diff)
-
tags/3.2.6/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) (5 diffs)
-
trunk/mxp-snippets.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.2.6/index.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 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. 5';41 static $VERSION = '3.2.6'; 42 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 43 43 protected static $instance = null; -
mxp-dev-tools/tags/3.2.6/mxp-login-path.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.2.6/mxp-site-manager.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 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. 5';41 public static $VERSION = '3.2.6'; 42 42 43 43 public function __construct() { … … 65 65 } 66 66 // 新增「設定」中的外掛選單 67 if (is_super_admin()) { 68 if (is_multisite()) { 69 add_action('network_admin_menu', array($this, 'network_admin_menu')); 70 } 71 add_action('admin_menu', array($this, 'admin_menu')); 72 } 67 if (is_multisite()) { 68 add_action('network_admin_menu', array($this, 'network_admin_menu')); 69 } 70 add_action('admin_menu', array($this, 'admin_menu')); 73 71 } 74 72 … … 98 96 $display = true; 99 97 } 100 if ( $display) {101 add_ options_page(98 if (apply_filters('mxp_dev_overwrite_site_manager_display', $display)) { 99 add_management_page( 102 100 'Site Manager', 103 101 'Site Manager', 104 'manage_options',102 apply_filters('mxp_dev_overwrite_site_manager_cap', 'manage_options'), 105 103 'mxp-site-manager', 106 104 array( … … 117 115 $display = true; 118 116 } 119 if ( $display) {120 add_menu_page('Site Manager', 'Site Manager', 'administrator', $this->plugin_slug, array($this, 'settings_page'), 'dashicons-admin-generic');117 if (apply_filters('mxp_dev_overwrite_site_manager_mu_display', $display)) { 118 add_menu_page('Site Manager', 'Site Manager', apply_filters('mxp_dev_overwrite_site_manager_mu_cap', 'administrator'), $this->plugin_slug, array($this, 'settings_page'), 'dashicons-admin-generic'); 121 119 } 122 120 } -
mxp-dev-tools/tags/3.2.6/mxp-snippets.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.2.6/readme.txt
r3168230 r3174193 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.6 8 Stable tag: 3.2. 58 Stable tag: 3.2.6 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 77 77 78 78 == Changelog == 79 80 = 3.2.6 = 81 82 * 調整站點管理的顯示與使用的權限設計 79 83 80 84 = 3.2.5 = -
mxp-dev-tools/trunk/index.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 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. 5';41 static $VERSION = '3.2.6'; 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
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 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. 5';41 public static $VERSION = '3.2.6'; 42 42 43 43 public function __construct() { … … 65 65 } 66 66 // 新增「設定」中的外掛選單 67 if (is_super_admin()) { 68 if (is_multisite()) { 69 add_action('network_admin_menu', array($this, 'network_admin_menu')); 70 } 71 add_action('admin_menu', array($this, 'admin_menu')); 72 } 67 if (is_multisite()) { 68 add_action('network_admin_menu', array($this, 'network_admin_menu')); 69 } 70 add_action('admin_menu', array($this, 'admin_menu')); 73 71 } 74 72 … … 98 96 $display = true; 99 97 } 100 if ( $display) {101 add_ options_page(98 if (apply_filters('mxp_dev_overwrite_site_manager_display', $display)) { 99 add_management_page( 102 100 'Site Manager', 103 101 'Site Manager', 104 'manage_options',102 apply_filters('mxp_dev_overwrite_site_manager_cap', 'manage_options'), 105 103 'mxp-site-manager', 106 104 array( … … 117 115 $display = true; 118 116 } 119 if ( $display) {120 add_menu_page('Site Manager', 'Site Manager', 'administrator', $this->plugin_slug, array($this, 'settings_page'), 'dashicons-admin-generic');117 if (apply_filters('mxp_dev_overwrite_site_manager_mu_display', $display)) { 118 add_menu_page('Site Manager', 'Site Manager', apply_filters('mxp_dev_overwrite_site_manager_mu_cap', 'administrator'), $this->plugin_slug, array($this, 'settings_page'), 'dashicons-admin-generic'); 121 119 } 122 120 } -
mxp-dev-tools/trunk/mxp-snippets.php
r3168230 r3174193 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.6 9 * Stable tag: 3.2. 510 * Version: 3.2. 59 * Stable tag: 3.2.6 10 * Version: 3.2.6 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/readme.txt
r3168230 r3174193 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.6 8 Stable tag: 3.2. 58 Stable tag: 3.2.6 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 77 77 78 78 == Changelog == 79 80 = 3.2.6 = 81 82 * 調整站點管理的顯示與使用的權限設計 79 83 80 84 = 3.2.5 =
Note: See TracChangeset
for help on using the changeset viewer.