Changeset 3079400
- Timestamp:
- 04/30/2024 12:29:38 PM (23 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 1 deleted
- 6 edited
- 18 copied
-
tags/3.1.6 (deleted)
-
tags/3.1.7 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.1.7/includes/assets/js/dashboard/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/dashboard/app.js)
-
tags/3.1.7/includes/assets/js/db-optimize/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js) (4 diffs)
-
tags/3.1.7/includes/assets/js/plugins-list/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/plugins-list/app.js)
-
tags/3.1.7/includes/assets/js/search-plugins/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/search-plugins/app.js)
-
tags/3.1.7/includes/assets/js/site-manager (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager)
-
tags/3.1.7/includes/assets/js/site-manager/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js)
-
tags/3.1.7/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.1.7/includes/db-optimize.php (copied) (copied from mxp-dev-tools/trunk/includes/db-optimize.php)
-
tags/3.1.7/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.1.7/includes/plugins-list.php (copied) (copied from mxp-dev-tools/trunk/includes/plugins-list.php)
-
tags/3.1.7/includes/utility.php (copied) (copied from mxp-dev-tools/trunk/includes/utility.php)
-
tags/3.1.7/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (3 diffs)
-
tags/3.1.7/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.1.7/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (2 diffs)
-
tags/3.1.7/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (1 diff)
-
tags/3.1.7/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (3 diffs)
-
tags/3.1.7/uninstall.php (copied) (copied from mxp-dev-tools/trunk/uninstall.php)
-
trunk/includes/assets/js/db-optimize/app.js (modified) (4 diffs)
-
trunk/index.php (modified) (3 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) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.1.7/includes/assets/js/db-optimize/app.js
r3078487 r3079400 265 265 $('#go_clean_postmeta').data('step', 2); 266 266 $('#go_clean_postmeta').text('刪除勾選項目'); 267 $('#go_clean_postmeta').prop('disabled', false); 267 268 } else { 268 $('#go_clean_postmeta _result').html('很棒!系統是乾淨的~');269 $('#go_clean_postmeta'). text('取得清除清單');269 $('#go_clean_postmeta').text('無需清除紀錄'); 270 $('#go_clean_postmeta').prop('disabled', true); 270 271 } 271 272 } else { 272 273 console.log(res.data); 273 }274 $('#go_clean_postmeta').prop('disabled', false);274 $('#go_clean_postmeta').prop('disabled', false); 275 } 275 276 }); 276 277 } … … 298 299 if (res.data !== undefined && res.data.length > 0) { 299 300 for (var i = 0; i < res.data.length; i++) { 300 $('#res_postmeta_' + $.escapeSelector(res.data[i])).html('< del>' + res.data[i] + '</del><font color="red"> 》已清除!</font>');301 $('#res_postmeta_' + $.escapeSelector(res.data[i])).html('<font color="red"> 》已清除!</font>'); 301 302 } 302 303 } … … 354 355 $('#go_clean_usermeta').data('step', 2); 355 356 $('#go_clean_usermeta').text('刪除勾選項目'); 357 $('#go_clean_usermeta').prop('disabled', false); 356 358 } else { 357 $('#go_clean_usermeta _result').html('很棒!系統是乾淨的~');358 $('#go_clean_usermeta'). text('取得清除清單');359 $('#go_clean_usermeta').text('無需清除紀錄'); 360 $('#go_clean_usermeta').prop('disabled', true); 359 361 } 360 362 } else { 361 363 console.log(res.data); 362 }363 $('#go_clean_usermeta').prop('disabled', false);364 $('#go_clean_usermeta').prop('disabled', false); 365 } 364 366 }); 365 367 } … … 387 389 if (res.data !== undefined && res.data.length > 0) { 388 390 for (var i = 0; i < res.data.length; i++) { 389 $('#res_usermeta_' + $.escapeSelector(res.data[i])).html('< del>' + res.data[i] + '</del><font color="red"> 》已清除!</font>');391 $('#res_usermeta_' + $.escapeSelector(res.data[i])).html('<font color="red"> 》已清除!</font>'); 390 392 } 391 393 } -
mxp-dev-tools/tags/3.1.7/index.php
r3078487 r3079400 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ … … 35 39 use SearchReplace; 36 40 use Utility; 37 static $VERSION = '3.1. 6';41 static $VERSION = '3.1.7'; 38 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 39 43 protected static $instance = null; … … 554 558 555 559 public function getwpconfig_page_cb() { 556 $this->page_wraper('查看網站各項設定 ', function () {560 $this->page_wraper('查看網站各項設定(當前使用者 ID: ' . get_current_user_id() . ')', function () { 557 561 echo '<h2>網路資訊</h2></br>'; 558 562 $response = wp_remote_get('https://undo.im/json?v=' . self::$VERSION . '&from=' . get_site_url(), array('sslverify' => false, 'timeout' => 5)); -
mxp-dev-tools/tags/3.1.7/mxp-login-path.php
r3078487 r3079400 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.7/mxp-site-manager.php
r3078487 r3079400 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ … … 35 39 class MDTSiteManager { 36 40 public $plugin_slug = 'mdt-site-manager'; 37 public static $VERSION = '3.1. 6';41 public static $VERSION = '3.1.7'; 38 42 39 43 public function __construct() { -
mxp-dev-tools/tags/3.1.7/mxp-snippets.php
r3078487 r3079400 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.7/readme.txt
r3078487 r3079400 2 2 Contributors: mxp 3 3 Donate link: https://mxp.tw/jT 4 Tags: Mxp.TW, Tools,Development, Snippets, Reset, Optimiztion4 Tags: Mxp.TW, Development, Snippets, Reset, Optimiztion 5 5 Requires at least: 4.6 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 68 Stable tag: 3.1.7 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 [Chun](https://www.mxp.tw/) 的 WordPress 開發實用外掛整理。 17 17 18 > 來試用看看吧 19 20 特色(Features): 21 22 1. 作者整理開發網站時常用的外掛,介面上提供批次安裝,根據需求調整外掛配置。 23 2. 除了 WordPress 官方外掛庫外,另支援 Themeforest 的 API ,提供直接下載已付費佈景和外掛的功能(需提供授權碼)。 24 3. 批次修改內容類型(Post Type)的作者,網站上線後把內容改為客戶帳號用。 25 4. 官方外掛庫的快速搜尋外掛與安裝功能,取代內建速度緩慢的新工具。 26 5. 外掛頁面提供每個外掛打包下載的工具,方便直接下載除錯。 27 6. 因為佈景主題在單站模式下沒有列表頁面,另提供主題打包的工具。 28 7. 查看 `wp-config.php` 檔案設定。 29 8. 資料庫與資料表的設置與個別、統一匯出資料庫工具,支援多資料庫操作。 30 9. 資料庫關鍵字搜尋並取代的工具,支援多資料庫操作。 31 10. 針對 WordPress 設定資料表做載入耗能排名與最佳化設定的工具。 18 特色功能(Features): 19 20 - 作者開發常用外掛列表。 21 - Themeforest 網站外掛主題下載安裝工具(需自行輸入授權碼)。 22 - 批次修改內容類型(Post Type)作者的工具。 23 - 快速搜尋與安裝外掛的工具。 24 - 外掛打包下載的工具 25 - 主題打包下載的工具。 26 - 查看 `wp-config.php` 與網站主機檔案相關設定工具。 27 - 資料庫打包匯出工具。 28 - 網站 `wp-content` 目錄打包下載工具。 29 - 資料庫關鍵字搜尋與取代工具。 30 - 資料庫最佳化設定的工具。 32 31 33 32 … … 79 78 == Changelog == 80 79 81 = 3.1. 6=80 = 3.1.7 = 82 81 83 82 * 新增清除重複 User/Post Meta 資料的最佳化資料庫的功能,參考: [Cleanup Duplicate Meta](https://tw.wordpress.org/plugins/cleanup-duplicate-meta/) 83 * 修正一些操作體驗 84 84 85 85 = 3.1.4 = -
mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js
r3078487 r3079400 265 265 $('#go_clean_postmeta').data('step', 2); 266 266 $('#go_clean_postmeta').text('刪除勾選項目'); 267 $('#go_clean_postmeta').prop('disabled', false); 267 268 } else { 268 $('#go_clean_postmeta _result').html('很棒!系統是乾淨的~');269 $('#go_clean_postmeta'). text('取得清除清單');269 $('#go_clean_postmeta').text('無需清除紀錄'); 270 $('#go_clean_postmeta').prop('disabled', true); 270 271 } 271 272 } else { 272 273 console.log(res.data); 273 }274 $('#go_clean_postmeta').prop('disabled', false);274 $('#go_clean_postmeta').prop('disabled', false); 275 } 275 276 }); 276 277 } … … 298 299 if (res.data !== undefined && res.data.length > 0) { 299 300 for (var i = 0; i < res.data.length; i++) { 300 $('#res_postmeta_' + $.escapeSelector(res.data[i])).html('< del>' + res.data[i] + '</del><font color="red"> 》已清除!</font>');301 $('#res_postmeta_' + $.escapeSelector(res.data[i])).html('<font color="red"> 》已清除!</font>'); 301 302 } 302 303 } … … 354 355 $('#go_clean_usermeta').data('step', 2); 355 356 $('#go_clean_usermeta').text('刪除勾選項目'); 357 $('#go_clean_usermeta').prop('disabled', false); 356 358 } else { 357 $('#go_clean_usermeta _result').html('很棒!系統是乾淨的~');358 $('#go_clean_usermeta'). text('取得清除清單');359 $('#go_clean_usermeta').text('無需清除紀錄'); 360 $('#go_clean_usermeta').prop('disabled', true); 359 361 } 360 362 } else { 361 363 console.log(res.data); 362 }363 $('#go_clean_usermeta').prop('disabled', false);364 $('#go_clean_usermeta').prop('disabled', false); 365 } 364 366 }); 365 367 } … … 387 389 if (res.data !== undefined && res.data.length > 0) { 388 390 for (var i = 0; i < res.data.length; i++) { 389 $('#res_usermeta_' + $.escapeSelector(res.data[i])).html('< del>' + res.data[i] + '</del><font color="red"> 》已清除!</font>');391 $('#res_usermeta_' + $.escapeSelector(res.data[i])).html('<font color="red"> 》已清除!</font>'); 390 392 } 391 393 } -
mxp-dev-tools/trunk/index.php
r3078487 r3079400 4 4 * Plugin URI: https://goo.gl/2gLq18 5 5 * Description: 一介資男の常用外掛整理與常用開發功能整合外掛。 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ … … 35 39 use SearchReplace; 36 40 use Utility; 37 static $VERSION = '3.1. 6';41 static $VERSION = '3.1.7'; 38 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 39 43 protected static $instance = null; … … 554 558 555 559 public function getwpconfig_page_cb() { 556 $this->page_wraper('查看網站各項設定 ', function () {560 $this->page_wraper('查看網站各項設定(當前使用者 ID: ' . get_current_user_id() . ')', function () { 557 561 echo '<h2>網路資訊</h2></br>'; 558 562 $response = wp_remote_get('https://undo.im/json?v=' . self::$VERSION . '&from=' . get_site_url(), array('sslverify' => false, 'timeout' => 5)); -
mxp-dev-tools/trunk/mxp-login-path.php
r3078487 r3079400 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 隱藏後台登入位置工具。啟用即更改預設登入網址為 /admin-staff/ 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3078487 r3079400 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 管理多個 WordPress 站點的工具。 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ … … 35 39 class MDTSiteManager { 36 40 public $plugin_slug = 'mdt-site-manager'; 37 public static $VERSION = '3.1. 6';41 public static $VERSION = '3.1.7'; 38 42 39 43 public function __construct() { -
mxp-dev-tools/trunk/mxp-snippets.php
r3078487 r3079400 4 4 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/ 5 5 * Description: 整合 GitHub 中常用的程式碼片段。請注意,並非所有網站都適用全部的選項,有進階需求可以透過設定 wp-config.php 中此外掛預設常數,啟用或停用部分功能。 6 * Version: 3.1.6 6 * Requires at least: 4.6 7 * Requires PHP: 5.6 8 * Tested up to: 6.5 9 * Stable tag: 3.1.7 10 * Version: 3.1.7 7 11 * Author: Chun 8 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/readme.txt
r3078487 r3079400 2 2 Contributors: mxp 3 3 Donate link: https://mxp.tw/jT 4 Tags: Mxp.TW, Tools,Development, Snippets, Reset, Optimiztion4 Tags: Mxp.TW, Development, Snippets, Reset, Optimiztion 5 5 Requires at least: 4.6 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 68 Stable tag: 3.1.7 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 [Chun](https://www.mxp.tw/) 的 WordPress 開發實用外掛整理。 17 17 18 > 來試用看看吧 19 20 特色(Features): 21 22 1. 作者整理開發網站時常用的外掛,介面上提供批次安裝,根據需求調整外掛配置。 23 2. 除了 WordPress 官方外掛庫外,另支援 Themeforest 的 API ,提供直接下載已付費佈景和外掛的功能(需提供授權碼)。 24 3. 批次修改內容類型(Post Type)的作者,網站上線後把內容改為客戶帳號用。 25 4. 官方外掛庫的快速搜尋外掛與安裝功能,取代內建速度緩慢的新工具。 26 5. 外掛頁面提供每個外掛打包下載的工具,方便直接下載除錯。 27 6. 因為佈景主題在單站模式下沒有列表頁面,另提供主題打包的工具。 28 7. 查看 `wp-config.php` 檔案設定。 29 8. 資料庫與資料表的設置與個別、統一匯出資料庫工具,支援多資料庫操作。 30 9. 資料庫關鍵字搜尋並取代的工具,支援多資料庫操作。 31 10. 針對 WordPress 設定資料表做載入耗能排名與最佳化設定的工具。 18 特色功能(Features): 19 20 - 作者開發常用外掛列表。 21 - Themeforest 網站外掛主題下載安裝工具(需自行輸入授權碼)。 22 - 批次修改內容類型(Post Type)作者的工具。 23 - 快速搜尋與安裝外掛的工具。 24 - 外掛打包下載的工具 25 - 主題打包下載的工具。 26 - 查看 `wp-config.php` 與網站主機檔案相關設定工具。 27 - 資料庫打包匯出工具。 28 - 網站 `wp-content` 目錄打包下載工具。 29 - 資料庫關鍵字搜尋與取代工具。 30 - 資料庫最佳化設定的工具。 32 31 33 32 … … 79 78 == Changelog == 80 79 81 = 3.1. 6=80 = 3.1.7 = 82 81 83 82 * 新增清除重複 User/Post Meta 資料的最佳化資料庫的功能,參考: [Cleanup Duplicate Meta](https://tw.wordpress.org/plugins/cleanup-duplicate-meta/) 83 * 修正一些操作體驗 84 84 85 85 = 3.1.4 =
Note: See TracChangeset
for help on using the changeset viewer.