Plugin Directory

Changeset 3080385


Ignore:
Timestamp:
05/02/2024 12:39:50 PM (23 months ago)
Author:
mxp
Message:

update 3.1.10

Location:
mxp-dev-tools
Files:
5 edited
18 copied

Legend:

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

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

    r3079746 r3080385  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.5
    9  * Stable tag: 3.1.9
    10  * Version: 3.1.9
     9 * Stable tag: 3.1.10
     10 * Version: 3.1.10
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/tags/3.1.10/mxp-site-manager.php

    r3079746 r3080385  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.5
    9  * Stable tag: 3.1.9
    10  * Version: 3.1.9
     9 * Stable tag: 3.1.10
     10 * Version: 3.1.10
    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.1.9';
     41    public static $VERSION = '3.1.10';
    4242
    4343    public function __construct() {
  • mxp-dev-tools/tags/3.1.10/mxp-snippets.php

    r3079746 r3080385  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.5
    9  * Stable tag: 3.1.9
    10  * Version: 3.1.9
     9 * Stable tag: 3.1.10
     10 * Version: 3.1.10
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
     
    678678        }
    679679        if (isset($user) && is_array($user->roles)) {
    680             $allowed_roles = apply_filters('mxp_dev_admin_roles', array('editor', 'administrator', 'author'));
     680            $allowed_roles = apply_filters('mxp_dev_admin_roles', array('editor', 'administrator', 'author', 'shop_manager'));
    681681            $intersection  = array_intersect($user->roles, $allowed_roles);
    682682            if (!empty($intersection)) {
     
    687687            return admin_url();
    688688        } else {
    689             return site_url();
     689            return $redirect_to;
    690690        }
    691691    }
  • mxp-dev-tools/tags/3.1.10/readme.txt

    r3079746 r3080385  
    66Requires PHP: 5.6
    77Tested up to: 6.5
    8 Stable tag: 3.1.9
     8Stable tag: 3.1.10
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7777
    7878== Changelog ==
     79
     80= 3.1.10 =
     81
     82* 修正 Snippets 登入轉址問題
    7983
    8084= 3.1.9 =
  • mxp-dev-tools/trunk/index.php

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

    r3079746 r3080385  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.5
    9  * Stable tag: 3.1.9
    10  * Version: 3.1.9
     9 * Stable tag: 3.1.10
     10 * Version: 3.1.10
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
  • mxp-dev-tools/trunk/mxp-site-manager.php

    r3079746 r3080385  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.5
    9  * Stable tag: 3.1.9
    10  * Version: 3.1.9
     9 * Stable tag: 3.1.10
     10 * Version: 3.1.10
    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.1.9';
     41    public static $VERSION = '3.1.10';
    4242
    4343    public function __construct() {
  • mxp-dev-tools/trunk/mxp-snippets.php

    r3079746 r3080385  
    77 * Requires PHP: 5.6
    88 * Tested up to: 6.5
    9  * Stable tag: 3.1.9
    10  * Version: 3.1.9
     9 * Stable tag: 3.1.10
     10 * Version: 3.1.10
    1111 * Author: Chun
    1212 * Author URI: https://www.mxp.tw/contact/
     
    678678        }
    679679        if (isset($user) && is_array($user->roles)) {
    680             $allowed_roles = apply_filters('mxp_dev_admin_roles', array('editor', 'administrator', 'author'));
     680            $allowed_roles = apply_filters('mxp_dev_admin_roles', array('editor', 'administrator', 'author', 'shop_manager'));
    681681            $intersection  = array_intersect($user->roles, $allowed_roles);
    682682            if (!empty($intersection)) {
     
    687687            return admin_url();
    688688        } else {
    689             return site_url();
     689            return $redirect_to;
    690690        }
    691691    }
  • mxp-dev-tools/trunk/readme.txt

    r3079746 r3080385  
    66Requires PHP: 5.6
    77Tested up to: 6.5
    8 Stable tag: 3.1.9
     8Stable tag: 3.1.10
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7777
    7878== Changelog ==
     79
     80= 3.1.10 =
     81
     82* 修正 Snippets 登入轉址問題
    7983
    8084= 3.1.9 =
Note: See TracChangeset for help on using the changeset viewer.