Changeset 3080385
- Timestamp:
- 05/02/2024 12:39:50 PM (23 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 5 edited
- 18 copied
-
tags/3.1.10 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.1.10/includes/assets/js/dashboard/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/dashboard/app.js)
-
tags/3.1.10/includes/assets/js/db-optimize/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js)
-
tags/3.1.10/includes/assets/js/plugins-list/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/plugins-list/app.js)
-
tags/3.1.10/includes/assets/js/search-plugins/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/search-plugins/app.js)
-
tags/3.1.10/includes/assets/js/site-manager (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager)
-
tags/3.1.10/includes/assets/js/site-manager/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js)
-
tags/3.1.10/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.1.10/includes/db-optimize.php (copied) (copied from mxp-dev-tools/trunk/includes/db-optimize.php)
-
tags/3.1.10/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.1.10/includes/plugins-list.php (copied) (copied from mxp-dev-tools/trunk/includes/plugins-list.php)
-
tags/3.1.10/includes/utility.php (copied) (copied from mxp-dev-tools/trunk/includes/utility.php)
-
tags/3.1.10/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (2 diffs)
-
tags/3.1.10/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.1.10/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (2 diffs)
-
tags/3.1.10/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (3 diffs)
-
tags/3.1.10/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (2 diffs)
-
tags/3.1.10/uninstall.php (copied) (copied from mxp-dev-tools/trunk/uninstall.php)
-
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) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.1.10/index.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 use SearchReplace; 40 40 use Utility; 41 static $VERSION = '3.1. 9';41 static $VERSION = '3.1.10'; 42 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 43 43 protected static $instance = null; -
mxp-dev-tools/tags/3.1.10/mxp-login-path.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.10/mxp-site-manager.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 class MDTSiteManager { 40 40 public $plugin_slug = 'mdt-site-manager'; 41 public static $VERSION = '3.1. 9';41 public static $VERSION = '3.1.10'; 42 42 43 43 public function __construct() { -
mxp-dev-tools/tags/3.1.10/mxp-snippets.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 678 678 } 679 679 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')); 681 681 $intersection = array_intersect($user->roles, $allowed_roles); 682 682 if (!empty($intersection)) { … … 687 687 return admin_url(); 688 688 } else { 689 return site_url();689 return $redirect_to; 690 690 } 691 691 } -
mxp-dev-tools/tags/3.1.10/readme.txt
r3079746 r3080385 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 98 Stable tag: 3.1.10 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 77 77 78 78 == Changelog == 79 80 = 3.1.10 = 81 82 * 修正 Snippets 登入轉址問題 79 83 80 84 = 3.1.9 = -
mxp-dev-tools/trunk/index.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 use SearchReplace; 40 40 use Utility; 41 static $VERSION = '3.1. 9';41 static $VERSION = '3.1.10'; 42 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 43 43 protected static $instance = null; -
mxp-dev-tools/trunk/mxp-login-path.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 39 39 class MDTSiteManager { 40 40 public $plugin_slug = 'mdt-site-manager'; 41 public static $VERSION = '3.1. 9';41 public static $VERSION = '3.1.10'; 42 42 43 43 public function __construct() { -
mxp-dev-tools/trunk/mxp-snippets.php
r3079746 r3080385 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1. 910 * Version: 3.1. 99 * Stable tag: 3.1.10 10 * Version: 3.1.10 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 678 678 } 679 679 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')); 681 681 $intersection = array_intersect($user->roles, $allowed_roles); 682 682 if (!empty($intersection)) { … … 687 687 return admin_url(); 688 688 } else { 689 return site_url();689 return $redirect_to; 690 690 } 691 691 } -
mxp-dev-tools/trunk/readme.txt
r3079746 r3080385 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1. 98 Stable tag: 3.1.10 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 77 77 78 78 == Changelog == 79 80 = 3.1.10 = 81 82 * 修正 Snippets 登入轉址問題 79 83 80 84 = 3.1.9 =
Note: See TracChangeset
for help on using the changeset viewer.