Plugin Directory

Changeset 3174213


Ignore:
Timestamp:
10/23/2024 10:13:40 AM (17 months ago)
Author:
mxp
Message:

update 3.2.7

Location:
mxp-dev-tools
Files:
1 deleted
5 edited
8 copied

Legend:

Unmodified
Added
Removed
  • mxp-dev-tools/tags/3.2.7/index.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
     
    3939    use SearchReplace;
    4040    use Utility;
    41     static $VERSION = '3.2.6';
     41    static $VERSION = '3.2.7';
    4242    private $themeforest_api_base_url = 'https://api.envato.com/v3';
    4343    protected static $instance = null;
  • mxp-dev-tools/tags/3.2.7/mxp-login-path.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/tags/3.2.7/mxp-site-manager.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
     
    3939class MDTSiteManager {
    4040    public $plugin_slug = 'mdt-site-manager';
    41     public static $VERSION = '3.2.6';
     41    public static $VERSION = '3.2.7';
    4242
    4343    public function __construct() {
     
    6060
    6161    public function plugins_loaded() {
    62         // 避免單獨啟用時呼叫判斷 is_super_admin() 噴錯
    63         if (!function_exists('wp_get_current_user')) {
    64             include_once ABSPATH . "wp-includes/pluggable.php";
    65         }
    6662        // 新增「設定」中的外掛選單
    6763        if (is_multisite()) {
     
    160156            wp_send_json(array('code' => 401, 'msg' => '錯誤的請求參數。'));
    161157        }
    162         if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard') || !is_super_admin()) {
     158        if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard')) {
    163159            wp_send_json(array('code' => 401, 'msg' => '錯誤的請求驗證。'));
    164160        }
  • mxp-dev-tools/tags/3.2.7/mxp-snippets.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/tags/3.2.7/readme.txt

    r3174193 r3174213  
    66Requires PHP: 5.6
    77Tested up to: 6.6
    8 Stable tag: 3.2.6
     8Stable tag: 3.2.7
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7878== Changelog ==
    7979
    80 = 3.2.6 =
     80= 3.2.7 =
    8181
    8282* 調整站點管理的顯示與使用的權限設計
  • mxp-dev-tools/trunk/index.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
     
    3939    use SearchReplace;
    4040    use Utility;
    41     static $VERSION = '3.2.6';
     41    static $VERSION = '3.2.7';
    4242    private $themeforest_api_base_url = 'https://api.envato.com/v3';
    4343    protected static $instance = null;
  • mxp-dev-tools/trunk/mxp-login-path.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/trunk/mxp-site-manager.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
     
    3939class MDTSiteManager {
    4040    public $plugin_slug = 'mdt-site-manager';
    41     public static $VERSION = '3.2.6';
     41    public static $VERSION = '3.2.7';
    4242
    4343    public function __construct() {
     
    6060
    6161    public function plugins_loaded() {
    62         // 避免單獨啟用時呼叫判斷 is_super_admin() 噴錯
    63         if (!function_exists('wp_get_current_user')) {
    64             include_once ABSPATH . "wp-includes/pluggable.php";
    65         }
    6662        // 新增「設定」中的外掛選單
    6763        if (is_multisite()) {
     
    160156            wp_send_json(array('code' => 401, 'msg' => '錯誤的請求參數。'));
    161157        }
    162         if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard') || !is_super_admin()) {
     158        if (!isset($_POST['nonce']) || !wp_verify_nonce($_POST['nonce'], 'mxp-ajax-nonce-for-site-manager-dashboard')) {
    163159            wp_send_json(array('code' => 401, 'msg' => '錯誤的請求驗證。'));
    164160        }
  • mxp-dev-tools/trunk/mxp-snippets.php

    r3174193 r3174213  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.6
    9  * Stable tag: 3.2.6
    10  * Version: 3.2.6
     9 * Stable tag: 3.2.7
     10 * Version: 3.2.7
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/trunk/readme.txt

    r3174193 r3174213  
    66Requires PHP: 5.6
    77Tested up to: 6.6
    8 Stable tag: 3.2.6
     8Stable tag: 3.2.7
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7878== Changelog ==
    7979
    80 = 3.2.6 =
     80= 3.2.7 =
    8181
    8282* 調整站點管理的顯示與使用的權限設計
Note: See TracChangeset for help on using the changeset viewer.