Changeset 3084309
- Timestamp:
- 05/10/2024 04:54:54 AM (22 months ago)
- Location:
- mxp-dev-tools
- Files:
-
- 1 deleted
- 5 edited
- 18 copied
-
tags/3.1.12 (deleted)
-
tags/3.1.13 (copied) (copied from mxp-dev-tools/trunk)
-
tags/3.1.13/includes/assets/js/dashboard/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/dashboard/app.js)
-
tags/3.1.13/includes/assets/js/db-optimize/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/db-optimize/app.js)
-
tags/3.1.13/includes/assets/js/plugins-list/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/plugins-list/app.js)
-
tags/3.1.13/includes/assets/js/search-plugins/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/search-plugins/app.js)
-
tags/3.1.13/includes/assets/js/site-manager (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager)
-
tags/3.1.13/includes/assets/js/site-manager/app.js (copied) (copied from mxp-dev-tools/trunk/includes/assets/js/site-manager/app.js)
-
tags/3.1.13/includes/class_plugins_list_table.php (copied) (copied from mxp-dev-tools/trunk/includes/class_plugins_list_table.php)
-
tags/3.1.13/includes/db-optimize.php (copied) (copied from mxp-dev-tools/trunk/includes/db-optimize.php)
-
tags/3.1.13/includes/hooks-usage.php (copied) (copied from mxp-dev-tools/trunk/includes/hooks-usage.php)
-
tags/3.1.13/includes/plugins-list.php (copied) (copied from mxp-dev-tools/trunk/includes/plugins-list.php)
-
tags/3.1.13/includes/utility.php (copied) (copied from mxp-dev-tools/trunk/includes/utility.php)
-
tags/3.1.13/index.php (copied) (copied from mxp-dev-tools/trunk/index.php) (2 diffs)
-
tags/3.1.13/mxp-login-path.php (copied) (copied from mxp-dev-tools/trunk/mxp-login-path.php) (1 diff)
-
tags/3.1.13/mxp-site-manager.php (copied) (copied from mxp-dev-tools/trunk/mxp-site-manager.php) (2 diffs)
-
tags/3.1.13/mxp-snippets.php (copied) (copied from mxp-dev-tools/trunk/mxp-snippets.php) (4 diffs)
-
tags/3.1.13/readme.txt (copied) (copied from mxp-dev-tools/trunk/readme.txt) (2 diffs)
-
tags/3.1.13/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) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxp-dev-tools/tags/3.1.13/index.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 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.1 2';41 static $VERSION = '3.1.13'; 42 42 private $themeforest_api_base_url = 'https://api.envato.com/v3'; 43 43 protected static $instance = null; -
mxp-dev-tools/tags/3.1.13/mxp-login-path.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/tags/3.1.13/mxp-site-manager.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 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.1 2';41 public static $VERSION = '3.1.13'; 42 42 43 43 public function __construct() { -
mxp-dev-tools/tags/3.1.13/mxp-snippets.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 265 265 } 266 266 if (MDT_HIDE_AUTHOR_NAME) { 267 add_filter('the_author_posts_link', array($this, 'hide_author_name'), 11, 1); 267 // add_filter('the_author_posts_link', array($this, 'hide_author_name'), 11, 1); 268 add_filter('the_author', array($this, 'hide_author_name'), 11, 1); 268 269 } 269 270 if (MDT_DISABLE_AVATAR) { … … 1042 1043 } 1043 1044 } 1045 1044 1046 // 輸出安全性的 HTTP 標頭 1045 1047 public function add_security_headers($headers) { … … 1051 1053 return $headers; 1052 1054 } 1055 1053 1056 // 預設作者的連結都不顯示 1054 1057 public function hide_author_link($link, $author_id, $author_nicename) { 1055 1058 return '#'; 1056 1059 } 1060 1057 1061 // 預設不顯示出系統輸出的作者連結與頁面,避免資安問題 1058 public function hide_author_name($link) { 1062 public function hide_author_name($name) { 1063 global $authordata; 1064 if (is_object($authordata)) { 1065 return ($authordata->display_name != $authordata->user_login) ? $authordata->display_name : MDT_AUTHOR_DISPLAY_NAME; 1066 } 1059 1067 return MDT_AUTHOR_DISPLAY_NAME; 1060 1068 } 1069 1061 1070 // 取消站內的全球大頭貼功能,全改為預設大頭貼 1062 1071 public function empty_avatar_data($args, $id_or_email) { -
mxp-dev-tools/tags/3.1.13/readme.txt
r3083670 r3084309 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1.1 28 Stable tag: 3.1.13 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 78 78 == Changelog == 79 79 80 = 3.1.1 2=80 = 3.1.13 = 81 81 82 82 * 新增 Snippets 子主題下 languages 目錄繼承翻譯 mo 檔案的功能 -
mxp-dev-tools/trunk/index.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 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.1 2';41 static $VERSION = '3.1.13'; 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
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ -
mxp-dev-tools/trunk/mxp-site-manager.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 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.1 2';41 public static $VERSION = '3.1.13'; 42 42 43 43 public function __construct() { -
mxp-dev-tools/trunk/mxp-snippets.php
r3083670 r3084309 7 7 * Requires PHP: 5.6 8 8 * Tested up to: 6.5 9 * Stable tag: 3.1.1 210 * Version: 3.1.1 29 * Stable tag: 3.1.13 10 * Version: 3.1.13 11 11 * Author: Chun 12 12 * Author URI: https://www.mxp.tw/contact/ … … 265 265 } 266 266 if (MDT_HIDE_AUTHOR_NAME) { 267 add_filter('the_author_posts_link', array($this, 'hide_author_name'), 11, 1); 267 // add_filter('the_author_posts_link', array($this, 'hide_author_name'), 11, 1); 268 add_filter('the_author', array($this, 'hide_author_name'), 11, 1); 268 269 } 269 270 if (MDT_DISABLE_AVATAR) { … … 1042 1043 } 1043 1044 } 1045 1044 1046 // 輸出安全性的 HTTP 標頭 1045 1047 public function add_security_headers($headers) { … … 1051 1053 return $headers; 1052 1054 } 1055 1053 1056 // 預設作者的連結都不顯示 1054 1057 public function hide_author_link($link, $author_id, $author_nicename) { 1055 1058 return '#'; 1056 1059 } 1060 1057 1061 // 預設不顯示出系統輸出的作者連結與頁面,避免資安問題 1058 public function hide_author_name($link) { 1062 public function hide_author_name($name) { 1063 global $authordata; 1064 if (is_object($authordata)) { 1065 return ($authordata->display_name != $authordata->user_login) ? $authordata->display_name : MDT_AUTHOR_DISPLAY_NAME; 1066 } 1059 1067 return MDT_AUTHOR_DISPLAY_NAME; 1060 1068 } 1069 1061 1070 // 取消站內的全球大頭貼功能,全改為預設大頭貼 1062 1071 public function empty_avatar_data($args, $id_or_email) { -
mxp-dev-tools/trunk/readme.txt
r3083670 r3084309 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.5 8 Stable tag: 3.1.1 28 Stable tag: 3.1.13 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 78 78 == Changelog == 79 79 80 = 3.1.1 2=80 = 3.1.13 = 81 81 82 82 * 新增 Snippets 子主題下 languages 目錄繼承翻譯 mo 檔案的功能
Note: See TracChangeset
for help on using the changeset viewer.