Changeset 3078487
- Timestamp:
- 04/29/2024 08:00:10 AM (23 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 1 deleted
- 7 edited
- 18 copied
-
tags/3.1.5 (deleted)
-
tags/3.1.6 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.1.6/includes/assets/js/dashboard/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/dashboard/app.js)
-
tags/3.1.6/includes/assets/js/db-optimize/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js) (1 diff)
-
tags/3.1.6/includes/assets/js/plugins-list/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/plugins-list/app.js)
-
tags/3.1.6/includes/assets/js/search-plugins/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/search-plugins/app.js)
-
tags/3.1.6/includes/assets/js/site-manager (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager)
-
tags/3.1.6/includes/assets/js/site-manager/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js)
-
tags/3.1.6/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.1.6/includes/db-optimize.php (copied) (copied from mxp-dev-tools/trunk/includes/db-optimize.php) (2 diffs)
-
tags/3.1.6/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.1.6/includes/plugins-list.php (copied) (copied from mxp-dev-tools/trunk/includes/plugins-list.php)
-
tags/3.1.6/includes/utility.php (copied) (copied from mxp-dev-tools/trunk/includes/utility.php)
-
tags/3.1.6/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (2 diffs)
-
tags/3.1.6/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.1.6/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (2 diffs)
-
tags/3.1.6/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (1 diff)
-
tags/3.1.6/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (2 diffs)
-
tags/3.1.6/uninstall.php (copied) (copied from mxp-dev-tools/trunk/uninstall.php)
-
trunk/includes/assets/js/db-optimize/app.js (modified) (1 diff)
-
trunk/includes/db-optimize.php (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) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.1.6/includes/assets/js/db-optimize/app.js
r3078475 r3078487 406 406 } 407 407 $.ajaxQueue.run(); 408 $('#go_clean_ postmeta').text('清除中...請勿重新整理頁面。');408 $('#go_clean_usermeta').text('清除中...請勿重新整理頁面。'); 409 409 } 410 410 }); -
mxp-dev-tools/tags/3.1.6/includes/db-optimize.php
r3078475 r3078487 1379 1379 $step = sanitize_text_field($_REQUEST['step']); 1380 1380 $meta_ids = isset($_REQUEST['meta_ids']) ? $_REQUEST['meta_ids'] : ''; 1381 1381 1382 if (!empty($meta_ids) && !is_array($meta_ids)) { 1382 1383 wp_send_json_error('請求參數有誤!'); 1383 1384 } 1385 1386 if (is_array($meta_ids)) { 1387 $meta_ids = array_map('intval', $meta_ids); 1388 } 1389 1384 1390 if (!isset($_REQUEST['nonce']) || !wp_verify_nonce($_REQUEST['nonce'], 'mxp-ajax-nonce-for-db-optimize')) { 1385 1391 wp_send_json_error('請求驗證有誤!'); 1386 1392 } 1393 1387 1394 global $wpdb; 1388 1395 if ($step == 1) { … … 1417 1424 $step = sanitize_text_field($_REQUEST['step']); 1418 1425 $meta_ids = isset($_REQUEST['meta_ids']) ? $_REQUEST['meta_ids'] : ''; 1426 1419 1427 if (!empty($meta_ids) && !is_array($meta_ids)) { 1420 1428 wp_send_json_error('請求參數有誤!'); 1421 1429 } 1430 1431 if (is_array($meta_ids)) { 1432 $meta_ids = array_map('intval', $meta_ids); 1433 } 1434 1422 1435 if (!isset($_REQUEST['nonce']) || !wp_verify_nonce($_REQUEST['nonce'], 'mxp-ajax-nonce-for-db-optimize')) { 1423 1436 wp_send_json_error('請求驗證有誤!'); 1424 1437 } 1438 1425 1439 global $wpdb; 1426 1440 if ($step == 1) { -
mxp-dev-tools/tags/3.1.6/index.php
r3078475 r3078487 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.1. 56 * Version: 3.1.6 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 use SearchReplace; 36 36 use Utility; 37 static $VERSION = '3.1. 5';37 static $VERSION = '3.1.6'; 38 38 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 39 39 protected static $instance = null; -
mxp-dev-tools/tags/3.1.6/mxp-login-path.php
r3078475 r3078487 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.1. 56 * Version: 3.1.6 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.6/mxp-site-manager.php
r3078475 r3078487 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.1. 56 * Version: 3.1.6 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.1. 5';37 public static $VERSION = '3.1.6'; 38 38 39 39 public function __construct() { -
mxp-dev-tools/tags/3.1.6/mxp-snippets.php
r3078475 r3078487 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.1. 56 * Version: 3.1.6 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.6/readme.txt
r3078475 r3078487 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 58 Stable tag: 3.1.6 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.1. 5=81 = 3.1.6 = 82 82 83 83 * 新增清除重複 User/Post Meta 資料的最佳化資料庫的功能,參考: [Cleanup Duplicate Meta](https://tw.wordpress.org/plugins/cleanup-duplicate-meta/) -
mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js
r3078475 r3078487 406 406 } 407 407 $.ajaxQueue.run(); 408 $('#go_clean_ postmeta').text('清除中...請勿重新整理頁面。');408 $('#go_clean_usermeta').text('清除中...請勿重新整理頁面。'); 409 409 } 410 410 }); -
mxp-dev-tools/trunk/includes/db-optimize.php
r3078475 r3078487 1379 1379 $step = sanitize_text_field($_REQUEST['step']); 1380 1380 $meta_ids = isset($_REQUEST['meta_ids']) ? $_REQUEST['meta_ids'] : ''; 1381 1381 1382 if (!empty($meta_ids) && !is_array($meta_ids)) { 1382 1383 wp_send_json_error('請求參數有誤!'); 1383 1384 } 1385 1386 if (is_array($meta_ids)) { 1387 $meta_ids = array_map('intval', $meta_ids); 1388 } 1389 1384 1390 if (!isset($_REQUEST['nonce']) || !wp_verify_nonce($_REQUEST['nonce'], 'mxp-ajax-nonce-for-db-optimize')) { 1385 1391 wp_send_json_error('請求驗證有誤!'); 1386 1392 } 1393 1387 1394 global $wpdb; 1388 1395 if ($step == 1) { … … 1417 1424 $step = sanitize_text_field($_REQUEST['step']); 1418 1425 $meta_ids = isset($_REQUEST['meta_ids']) ? $_REQUEST['meta_ids'] : ''; 1426 1419 1427 if (!empty($meta_ids) && !is_array($meta_ids)) { 1420 1428 wp_send_json_error('請求參數有誤!'); 1421 1429 } 1430 1431 if (is_array($meta_ids)) { 1432 $meta_ids = array_map('intval', $meta_ids); 1433 } 1434 1422 1435 if (!isset($_REQUEST['nonce']) || !wp_verify_nonce($_REQUEST['nonce'], 'mxp-ajax-nonce-for-db-optimize')) { 1423 1436 wp_send_json_error('請求驗證有誤!'); 1424 1437 } 1438 1425 1439 global $wpdb; 1426 1440 if ($step == 1) { -
mxp-dev-tools/trunk/index.php
r3078475 r3078487 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.1. 56 * Version: 3.1.6 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ … … 35 35 use SearchReplace; 36 36 use Utility; 37 static $VERSION = '3.1. 5';37 static $VERSION = '3.1.6'; 38 38 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 39 39 protected static $instance = null; -
mxp-dev-tools/trunk/mxp-login-path.php
r3078475 r3078487 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.1. 56 * Version: 3.1.6 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3078475 r3078487 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.1. 56 * Version: 3.1.6 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.1. 5';37 public static $VERSION = '3.1.6'; 38 38 39 39 public function __construct() { -
mxp-dev-tools/trunk/mxp-snippets.php
r3078475 r3078487 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.1. 56 * Version: 3.1.6 7 7 * Author: Chun 8 8 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/readme.txt
r3078475 r3078487 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 58 Stable tag: 3.1.6 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.1. 5=81 = 3.1.6 = 82 82 83 83 * 新增清除重複 User/Post Meta 資料的最佳化資料庫的功能,參考: [Cleanup Duplicate Meta](https://tw.wordpress.org/plugins/cleanup-duplicate-meta/)
Note: See TracChangeset
for help on using the changeset viewer.