Plugin Directory

Changeset 3491621


Ignore:
Timestamp:
03/26/2026 09:33:30 AM (6 days ago)
Author:
infility
Message:

v2.15.04 (20260326) Ben: 修复聊天工具保存失败的bug

Location:
infility-global/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • infility-global/trunk/infility_global.php

    r3490766 r3491621  
    44Plugin URI: https://www.infility.cn/
    55Description: Infility公共插件
    6 Version: 2.15.03
     6Version: 2.15.04
    77Author: Infility
    88Author URI: https://www.infility.cn/
     
    151151    function __construct()
    152152    {
    153         define( 'INFILITY_GLOBAL_VERSION', '2.15.03' );
     153        define( 'INFILITY_GLOBAL_VERSION', '2.15.04' );
    154154        define( 'INFILITY_GLOBAL_PATH', plugin_dir_path( __FILE__ ) ); // fullpath/wp-content/plugins/infility-global/ // 有斜杠
    155155        define( 'INFILITY_GLOBAL_URL', plugins_url( '/', __FILE__ ) ); // https://the_domain/wp-content/plugins/infility-global/ // 斜杠是自己加的
  • infility-global/trunk/widgets/infility-chat-tool/infility-chat-tool.php

    r3490766 r3491621  
    382382
    383383            if(empty($data)){
    384                 str::e_json('error',1);
    385             }
    386 
    387             $wpdb->update($tableName,$data,['id'=>$id]);
    388 
     384                $wpdb->update($tableName,$data,['id'=>$id]);
     385            }
    389386        }else if($p_u_sort){
    390387            $sort = sanitize_text_field($p_u_sort);
Note: See TracChangeset for help on using the changeset viewer.