Changeset 2686347
- Timestamp:
- 03/01/2022 07:22:35 AM (4 years ago)
- Location:
- eyoung/trunk
- Files:
-
- 2 edited
-
classes/admin.class.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eyoung/trunk/classes/admin.class.php
r2686337 r2686347 180 180 } 181 181 182 public static function goCenter(){ 183 $cfg = get_option(self::$optname); 184 if (!empty($cfg['servicepageid'])){ 185 $centerurl = get_page_link($cfg['servicepageid']); 186 echo '<script language="javascript">document.location= "'.$centerurl.'";</script>'; 187 } 188 } 189 182 190 public static function getCustomer(){ 183 191 if(!empty($_POST["formhash"]) && ($_POST["formhash"] == wp_create_nonce())) { … … 576 584 add_submenu_page(self::$name,'Ey在线客服插件','客户管理', 'administrator', self::$name.'-customer', array(__CLASS__,'getCustomer')); 577 585 add_submenu_page(self::$name,'Ey在线客服插件','沟通记录', 'administrator', self::$name.'-chat', array(__CLASS__,'getChatAll')); 586 add_submenu_page(self::$name,'Ey在线客服插件','客服中心', 'administrator', self::$name.'-gocenter', array(__CLASS__,'goCenter')); 578 587 // add_submenu_page(self::$name,'Ey在线客服插件','邮件记录', 'administrator', self::$name.'-email', array(__CLASS__,'manageEmail')); 579 588 unset($submenu[self::$name][0]); -
eyoung/trunk/readme.txt
r2686337 r2686347 5 5 Requires at least: 4.8 6 6 Tested up to: 5.9 7 Stable tag: 1.0 .27 Stable tag: 1.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == Changelog == 72 72 73 = 1.0.3 = 74 后台添加客服中心快捷访问入口。 75 73 76 = 1.0.1 = 74 *修改若干BUG;75 *优化部分界面展示。77 修改若干BUG; 78 优化部分界面展示。 76 79 77 80 = 1.0 =2022/02/18 78 81 * 新发布 79 80 == Upgrade Notice ==81 82 = 1.0.1 =83 修改若干BUG, 优化部分界面展示。
Note: See TracChangeset
for help on using the changeset viewer.