Plugin Directory

Changeset 3079400


Ignore:
Timestamp:
04/30/2024 12:29:38 PM (23 months ago)
Author:
mxp
Message:

update 3.1.7

Location:
mxp-dev-tools
Files:
1 deleted
6 edited
18 copied

Legend:

Unmodified
Added
Removed
  • mxp-dev-tools/tags/3.1.7/includes/assets/js/db-optimize/app.js

    r3078487 r3079400  
    265265                            $('#go_clean_postmeta').data('step', 2);
    266266                            $('#go_clean_postmeta').text('刪除勾選項目');
     267                            $('#go_clean_postmeta').prop('disabled', false);
    267268                        } else {
    268                             $('#go_clean_postmeta_result').html('很棒!系統是乾淨的~');
    269                             $('#go_clean_postmeta').text('取得清除清單');
     269                            $('#go_clean_postmeta').text('無需清除紀錄');
     270                            $('#go_clean_postmeta').prop('disabled', true);
    270271                        }
    271272                    } else {
    272273                        console.log(res.data);
    273                     }
    274                     $('#go_clean_postmeta').prop('disabled', false);
     274                        $('#go_clean_postmeta').prop('disabled', false);
     275                    }
    275276                });
    276277            }
     
    298299                                    if (res.data !== undefined && res.data.length > 0) {
    299300                                        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>');
    301302                                        }
    302303                                    }
     
    354355                            $('#go_clean_usermeta').data('step', 2);
    355356                            $('#go_clean_usermeta').text('刪除勾選項目');
     357                            $('#go_clean_usermeta').prop('disabled', false);
    356358                        } else {
    357                             $('#go_clean_usermeta_result').html('很棒!系統是乾淨的~');
    358                             $('#go_clean_usermeta').text('取得清除清單');
     359                            $('#go_clean_usermeta').text('無需清除紀錄');
     360                            $('#go_clean_usermeta').prop('disabled', true);
    359361                        }
    360362                    } else {
    361363                        console.log(res.data);
    362                     }
    363                     $('#go_clean_usermeta').prop('disabled', false);
     364                        $('#go_clean_usermeta').prop('disabled', false);
     365                    }
    364366                });
    365367            }
     
    387389                                    if (res.data !== undefined && res.data.length > 0) {
    388390                                        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>');
    390392                                        }
    391393                                    }
  • mxp-dev-tools/tags/3.1.7/index.php

    r3078487 r3079400  
    44 * Plugin URI: https://goo.gl/2gLq18
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
     
    3539    use SearchReplace;
    3640    use Utility;
    37     static $VERSION                   = '3.1.6';
     41    static $VERSION                   = '3.1.7';
    3842    private $themeforest_api_base_url = 'https://api.envato.com/v3';
    3943    protected static $instance        = null;
     
    554558
    555559    public function getwpconfig_page_cb() {
    556         $this->page_wraper('查看網站各項設定', function () {
     560        $this->page_wraper('查看網站各項設定(當前使用者 ID: ' . get_current_user_id() . ')', function () {
    557561            echo '<h2>網路資訊</h2></br>';
    558562            $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  
    44 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/tags/3.1.7/mxp-site-manager.php

    r3078487 r3079400  
    44 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
     
    3539class MDTSiteManager {
    3640    public $plugin_slug    = 'mdt-site-manager';
    37     public static $VERSION = '3.1.6';
     41    public static $VERSION = '3.1.7';
    3842
    3943    public function __construct() {
  • mxp-dev-tools/tags/3.1.7/mxp-snippets.php

    r3078487 r3079400  
    44 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/tags/3.1.7/readme.txt

    r3078487 r3079400  
    22Contributors: mxp
    33Donate link: https://mxp.tw/jT
    4 Tags: Mxp.TW, Tools, Development, Snippets, Reset, Optimiztion
     4Tags: Mxp.TW, Development, Snippets, Reset, Optimiztion
    55Requires at least: 4.6
    66Requires PHP: 5.6
    77Tested up to: 6.5
    8 Stable tag: 3.1.6
     8Stable tag: 3.1.7
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1616[Chun](https://www.mxp.tw/) 的 WordPress 開發實用外掛整理。
    1717
    18 > 來試用看看吧![點此試用](https://tastewp.com/plugins/mxp-dev-tools/)
    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- 資料庫最佳化設定的工具。
    3231
    3332
     
    7978== Changelog ==
    8079
    81 = 3.1.6 =
     80= 3.1.7 =
    8281
    8382* 新增清除重複 User/Post Meta 資料的最佳化資料庫的功能,參考:  [Cleanup Duplicate Meta](https://tw.wordpress.org/plugins/cleanup-duplicate-meta/)
     83* 修正一些操作體驗
    8484
    8585= 3.1.4 =
  • mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js

    r3078487 r3079400  
    265265                            $('#go_clean_postmeta').data('step', 2);
    266266                            $('#go_clean_postmeta').text('刪除勾選項目');
     267                            $('#go_clean_postmeta').prop('disabled', false);
    267268                        } else {
    268                             $('#go_clean_postmeta_result').html('很棒!系統是乾淨的~');
    269                             $('#go_clean_postmeta').text('取得清除清單');
     269                            $('#go_clean_postmeta').text('無需清除紀錄');
     270                            $('#go_clean_postmeta').prop('disabled', true);
    270271                        }
    271272                    } else {
    272273                        console.log(res.data);
    273                     }
    274                     $('#go_clean_postmeta').prop('disabled', false);
     274                        $('#go_clean_postmeta').prop('disabled', false);
     275                    }
    275276                });
    276277            }
     
    298299                                    if (res.data !== undefined && res.data.length > 0) {
    299300                                        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>');
    301302                                        }
    302303                                    }
     
    354355                            $('#go_clean_usermeta').data('step', 2);
    355356                            $('#go_clean_usermeta').text('刪除勾選項目');
     357                            $('#go_clean_usermeta').prop('disabled', false);
    356358                        } else {
    357                             $('#go_clean_usermeta_result').html('很棒!系統是乾淨的~');
    358                             $('#go_clean_usermeta').text('取得清除清單');
     359                            $('#go_clean_usermeta').text('無需清除紀錄');
     360                            $('#go_clean_usermeta').prop('disabled', true);
    359361                        }
    360362                    } else {
    361363                        console.log(res.data);
    362                     }
    363                     $('#go_clean_usermeta').prop('disabled', false);
     364                        $('#go_clean_usermeta').prop('disabled', false);
     365                    }
    364366                });
    365367            }
     
    387389                                    if (res.data !== undefined && res.data.length > 0) {
    388390                                        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>');
    390392                                        }
    391393                                    }
  • mxp-dev-tools/trunk/index.php

    r3078487 r3079400  
    44 * Plugin URI: https://goo.gl/2gLq18
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
     
    3539    use SearchReplace;
    3640    use Utility;
    37     static $VERSION                   = '3.1.6';
     41    static $VERSION                   = '3.1.7';
    3842    private $themeforest_api_base_url = 'https://api.envato.com/v3';
    3943    protected static $instance        = null;
     
    554558
    555559    public function getwpconfig_page_cb() {
    556         $this->page_wraper('查看網站各項設定', function () {
     560        $this->page_wraper('查看網站各項設定(當前使用者 ID: ' . get_current_user_id() . ')', function () {
    557561            echo '<h2>網路資訊</h2></br>';
    558562            $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  
    44 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/trunk/mxp-site-manager.php

    r3078487 r3079400  
    44 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
     
    3539class MDTSiteManager {
    3640    public $plugin_slug    = 'mdt-site-manager';
    37     public static $VERSION = '3.1.6';
     41    public static $VERSION = '3.1.7';
    3842
    3943    public function __construct() {
  • mxp-dev-tools/trunk/mxp-snippets.php

    r3078487 r3079400  
    44 * Plugin URI: https://tw.wordpress.org/plugins/mxp-dev-tools/
    55 * 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
    711 * Author: Chun
    812 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/trunk/readme.txt

    r3078487 r3079400  
    22Contributors: mxp
    33Donate link: https://mxp.tw/jT
    4 Tags: Mxp.TW, Tools, Development, Snippets, Reset, Optimiztion
     4Tags: Mxp.TW, Development, Snippets, Reset, Optimiztion
    55Requires at least: 4.6
    66Requires PHP: 5.6
    77Tested up to: 6.5
    8 Stable tag: 3.1.6
     8Stable tag: 3.1.7
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1616[Chun](https://www.mxp.tw/) 的 WordPress 開發實用外掛整理。
    1717
    18 > 來試用看看吧![點此試用](https://tastewp.com/plugins/mxp-dev-tools/)
    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- 資料庫最佳化設定的工具。
    3231
    3332
     
    7978== Changelog ==
    8079
    81 = 3.1.6 =
     80= 3.1.7 =
    8281
    8382* 新增清除重複 User/Post Meta 資料的最佳化資料庫的功能,參考:  [Cleanup Duplicate Meta](https://tw.wordpress.org/plugins/cleanup-duplicate-meta/)
     83* 修正一些操作體驗
    8484
    8585= 3.1.4 =
Note: See TracChangeset for help on using the changeset viewer.