Plugin Directory

Changeset 3480745


Ignore:
Timestamp:
03/12/2026 01:39:24 AM (3 weeks ago)
Author:
infility
Message:

v2.14.60 (20260312) Ben:导入excel增加number类型

Location:
infility-global/trunk
Files:
2 edited

Legend:

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

    r3478683 r3480745  
    44Plugin URI: https://www.infility.cn/
    55Description: Infility公共插件
    6 Version: 2.14.59
     6Version: 2.14.60
    77Author: Infility
    88Author URI: https://www.infility.cn/
     
    149149    function __construct()
    150150    {
    151         define( 'INFILITY_GLOBAL_VERSION', '2.14.59' );
     151        define( 'INFILITY_GLOBAL_VERSION', '2.14.60' );
    152152        define( 'INFILITY_GLOBAL_PATH', plugin_dir_path( __FILE__ ) ); // fullpath/wp-content/plugins/infility-global/ // 有斜杠
    153153        define( 'INFILITY_GLOBAL_URL', plugins_url( '/', __FILE__ ) ); // https://the_domain/wp-content/plugins/infility-global/ // 斜杠是自己加的
  • infility-global/trunk/widgets/infility-import-data/include/infility-import-excel.php

    r3476026 r3480745  
    102102        if($type=='text'){
    103103            $format_data = trim($data);
     104        }else if($type=='number'){
     105            $format_data = trim($data);
    104106        }else if($type=='textarea'){
    105             $format_data = $data;
     107            $format_data = trim($data);
    106108        }else if($type=='repeater'){
    107109            $format_data = [];
Note: See TracChangeset for help on using the changeset viewer.