Changeset 3046200
- Timestamp:
- 03/06/2024 10:03:59 AM (2 years ago)
- Location:
- mxp-dev-tools
- Files:
-
- 6 edited
- 18 copied
-
tags/3.0.15 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.0.15/includes/assets/js/dashboard/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/dashboard/app.js)
-
tags/3.0.15/includes/assets/js/db-optimize/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js)
-
tags/3.0.15/includes/assets/js/plugins-list/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/plugins-list/app.js)
-
tags/3.0.15/includes/assets/js/search-plugins/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/search-plugins/app.js)
-
tags/3.0.15/includes/assets/js/site-manager (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager)
-
tags/3.0.15/includes/assets/js/site-manager/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js) (2 diffs)
-
tags/3.0.15/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.0.15/includes/db-optimize.php (copied) (copied from mxp-dev-tools/trunk/includes/db-optimize.php)
-
tags/3.0.15/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.0.15/includes/plugins-list.php (copied) (copied from mxp-dev-tools/trunk/includes/plugins-list.php)
-
tags/3.0.15/includes/utility.php (copied) (copied from mxp-dev-tools/trunk/includes/utility.php)
-
tags/3.0.15/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (2 diffs)
-
tags/3.0.15/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.0.15/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (2 diffs)
-
tags/3.0.15/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (2 diffs)
-
tags/3.0.15/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (2 diffs)
-
tags/3.0.15/uninstall.php (copied) (copied from mxp-dev-tools/trunk/uninstall.php)
-
trunk/includes/assets/js/site-manager/app.js (modified) (2 diffs)
-
trunk/index.php (modified) (2 diffs)
-
trunk/mxp-login-path.php (modified) (1 diff)
-
trunk/mxp-site-manager.php (modified) (2 diffs)
-
trunk/mxp-snippets.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.0.15/includes/assets/js/site-manager/app.js
r3045764 r3046200 31 31 if (tableKey == 'whois') { 32 32 var expiration = ''; 33 if (item['whois'] ['data'] !== undefined) {33 if (item['whois'] && item['whois']['data'] !== undefined) { 34 34 expiration = item['whois']['data']['expiration'] !== undefined ? item['whois']['data']['expiration'] : ''; 35 35 } … … 66 66 if (tableKey == 'whois') { 67 67 var expiration = ''; 68 if (item['whois'] ['data'] !== undefined) {68 if (item['whois'] && item['whois']['data'] !== undefined) { 69 69 expiration = item['whois']['data']['expiration'] !== undefined ? item['whois']['data']['expiration'] : ''; 70 70 } -
mxp-dev-tools/tags/3.0.15/index.php
r3045764 r3046200 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 26 26 use SearchReplace; 27 27 use Utility; 28 static $VERSION = '3.0.1 4';28 static $VERSION = '3.0.15'; 29 29 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 30 30 protected static $instance = null; -
mxp-dev-tools/tags/3.0.15/mxp-login-path.php
r3045764 r3046200 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.0.15/mxp-site-manager.php
r3045764 r3046200 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 class MDTSiteManager { 36 36 public $plugin_slug = 'mdt-site-manager'; 37 public static $VERSION = '3.0.1 4';37 public static $VERSION = '3.0.15'; 38 38 39 39 public function __construct() { -
mxp-dev-tools/tags/3.0.15/mxp-snippets.php
r3045764 r3046200 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 241 241 // 沒登入的使用者都無法呼叫 wp/users 這隻 API。不建議完全封鎖掉,會導致有些後台功能運作失靈 242 242 if (function_exists('is_user_logged_in') && !is_user_logged_in() && MDT_DISABLE_NO_AUTH_ACCESS_REST_USER) { 243 add_filter('rest_user_query', '__return_empty_array'); 243 // 要影響 Query 結果的話這邊不能傳入空值,要改寫,但下方勾點還可以處理,先放著 244 // add_filter('rest_user_query', '__return_empty_array'); 244 245 add_filter('rest_prepare_user', '__return_empty_array'); 245 246 } -
mxp-dev-tools/tags/3.0.15/readme.txt
r3045764 r3046200 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.4 8 Stable tag: 3.0.1 48 Stable tag: 3.0.15 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 79 79 == Changelog == 80 80 81 = 3.0.1 4=81 = 3.0.15 = 82 82 83 83 * 修正 Site Manager 的資料載入問題 84 * 修正 Snippets REST API 的權限判斷與勾點置入問題 84 85 85 86 = 3.0.13 = -
mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js
r3045764 r3046200 31 31 if (tableKey == 'whois') { 32 32 var expiration = ''; 33 if (item['whois'] ['data'] !== undefined) {33 if (item['whois'] && item['whois']['data'] !== undefined) { 34 34 expiration = item['whois']['data']['expiration'] !== undefined ? item['whois']['data']['expiration'] : ''; 35 35 } … … 66 66 if (tableKey == 'whois') { 67 67 var expiration = ''; 68 if (item['whois'] ['data'] !== undefined) {68 if (item['whois'] && item['whois']['data'] !== undefined) { 69 69 expiration = item['whois']['data']['expiration'] !== undefined ? item['whois']['data']['expiration'] : ''; 70 70 } -
mxp-dev-tools/trunk/index.php
r3045764 r3046200 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 26 26 use SearchReplace; 27 27 use Utility; 28 static $VERSION = '3.0.1 4';28 static $VERSION = '3.0.15'; 29 29 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 30 30 protected static $instance = null; -
mxp-dev-tools/trunk/mxp-login-path.php
r3045764 r3046200 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3045764 r3046200 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 class MDTSiteManager { 36 36 public $plugin_slug = 'mdt-site-manager'; 37 public static $VERSION = '3.0.1 4';37 public static $VERSION = '3.0.15'; 38 38 39 39 public function __construct() { -
mxp-dev-tools/trunk/mxp-snippets.php
r3045764 r3046200 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.0.1 46 * Version: 3.0.15 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 241 241 // 沒登入的使用者都無法呼叫 wp/users 這隻 API。不建議完全封鎖掉,會導致有些後台功能運作失靈 242 242 if (function_exists('is_user_logged_in') && !is_user_logged_in() && MDT_DISABLE_NO_AUTH_ACCESS_REST_USER) { 243 add_filter('rest_user_query', '__return_empty_array'); 243 // 要影響 Query 結果的話這邊不能傳入空值,要改寫,但下方勾點還可以處理,先放著 244 // add_filter('rest_user_query', '__return_empty_array'); 244 245 add_filter('rest_prepare_user', '__return_empty_array'); 245 246 } -
mxp-dev-tools/trunk/readme.txt
r3045764 r3046200 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.4 8 Stable tag: 3.0.1 48 Stable tag: 3.0.15 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 79 79 == Changelog == 80 80 81 = 3.0.1 4=81 = 3.0.15 = 82 82 83 83 * 修正 Site Manager 的資料載入問題 84 * 修正 Snippets REST API 的權限判斷與勾點置入問題 84 85 85 86 = 3.0.13 =
Note: See TracChangeset
for help on using the changeset viewer.