Plugin Directory

Changeset 2686347


Ignore:
Timestamp:
03/01/2022 07:22:35 AM (4 years ago)
Author:
yuyaoit
Message:

v1.0.3 后台管理处新增客服中心快捷访问入口

Location:
eyoung/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • eyoung/trunk/classes/admin.class.php

    r2686337 r2686347  
    180180    }
    181181   
     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   
    182190    public static function getCustomer(){
    183191        if(!empty($_POST["formhash"]) && ($_POST["formhash"] == wp_create_nonce())) {
     
    576584        add_submenu_page(self::$name,'Ey在线客服插件','客户管理', 'administrator', self::$name.'-customer', array(__CLASS__,'getCustomer'));
    577585        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'));     
    578587//      add_submenu_page(self::$name,'Ey在线客服插件','邮件记录', 'administrator', self::$name.'-email', array(__CLASS__,'manageEmail'));
    579588        unset($submenu[self::$name][0]);
  • eyoung/trunk/readme.txt

    r2686337 r2686347  
    55Requires at least: 4.8
    66Tested up to: 5.9
    7 Stable tag: 1.0.2
     7Stable tag: 1.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7171== Changelog ==
    7272
     73= 1.0.3 =
     74后台添加客服中心快捷访问入口。
     75
    7376= 1.0.1 =
    74 * 修改若干BUG;
    75 * 优化部分界面展示。
     77修改若干BUG;
     78优化部分界面展示。
    7679
    7780= 1.0 =2022/02/18
    7881* 新发布
    79 
    80 == Upgrade Notice ==
    81 
    82 = 1.0.1 =
    83 修改若干BUG, 优化部分界面展示。
Note: See TracChangeset for help on using the changeset viewer.