Changeset 3046066
- Timestamp:
- 03/06/2024 05:03:48 AM (14 months ago)
- Location:
- contact-form-entries/trunk
- Files:
-
- 4 edited
-
contact-form-entries.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/leads-table.php (modified) (1 diff)
-
templates/view.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
contact-form-entries/trunk/contact-form-entries.php
r3028640 r3046066 3 3 * Plugin Name: Contact Form Entries 4 4 * Description: Save form submissions to the database from <a href="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a>, <a href="https://wordpress.org/plugins/ninja-forms/">Ninja Forms</a>, <a href="https://elementor.com/widgets/form-widget/">Elementor Forms</a> and <a href="https://wordpress.org/plugins/wpforms-lite/">WP Forms</a>. 5 * Version: 1.3. 35 * Version: 1.3.4 6 6 * Requires at least: 3.8 7 7 * Tested up to: 6.4 … … 27 27 public static $path = ''; 28 28 29 public static $version = '1.3. 3';29 public static $version = '1.3.4'; 30 30 public static $upload_folder = 'crm_perks_uploads'; 31 31 public static $db_version=''; … … 264 264 $table_id=''; 265 265 if(!empty($atts['id'])){ 266 $table_id='id="'.esc_attr($atts[' font-size']).'"';266 $table_id='id="'.esc_attr($atts['id']).'"'; 267 267 } 268 268 //var_dump($fields); … … 693 693 $post_data=$submission->get_posted_data(); 694 694 //var_dump($post_data); die(); 695 $lead=array(); 695 $lead=array(); 696 696 if(is_array($post_data)){ 697 697 foreach($post_data as $k=>$val){ … … 706 706 } 707 707 708 if( !empty($val) && isset($v['basetype']) && $v['basetype'] == 'mfile' && function_exists('dnd_get_upload_dir') ){ 708 //disabled it @feb-2024 , dnd plugin now uses correct file urls 709 /* if( !empty($val) && isset($v['type_']) && $v['type_'] == 'mfile' && function_exists('dnd_get_upload_dir') ){ 709 710 $dir=dnd_get_upload_dir(); 710 711 $f_arr=array(); 711 712 foreach($val as $file){ 712 713 $file_name=explode('/',$file); 713 if(count($file_name)>1){ 714 if(count($file_name)>1){ var_dump($file_name,$file); 714 715 $f_arr[]=$dir['upload_url'].'/'.$file_name[1]; 715 716 } 716 717 } 717 718 718 719 $val=$f_arr; 719 } 720 }*/ 721 720 722 if(!isset($uploaded_files[$name])){ 721 723 $val=wp_unslash($val); … … 1989 1991 $field['type_']=$tag['type']; 1990 1992 $field['type']=$tag['basetype']; 1993 if($tag['basetype'] == 'mfile'){ $field['type']='file'; } 1991 1994 $field['req']=strpos($tag['type'],'*') !==false ? 'true' : ''; 1992 1995 -
contact-form-entries/trunk/readme.txt
r3028640 r3046066 4 4 Requires at least: 3.8 5 5 Tested up to: 6.4 6 Stable tag: 1.3. 37 Version: 1.3. 36 Stable tag: 1.3.4 7 Version: 1.3.4 8 8 Requires PHP: 5.3 9 9 License: GPLv3 … … 167 167 == Changelog == 168 168 169 = 1.3.4 = 170 * fixed "xss issue with font-size attribute of table". 171 169 172 = 1.3.3 = 170 173 * fixed "ninja forms hidden fields" issue. -
contact-form-entries/trunk/templates/leads-table.php
r2793027 r3046066 19 19 $thumb_width='70'; if(!empty($atts['thumb-width'])){ $thumb_width=$atts['thumb-width']; } 20 20 ?> 21 <table <?php echo $class.' '.$css ?> cellspacing="0" <?php echo esc_html($table_id) ?>>21 <table <?php echo $class.' '.$css ?> cellspacing="0" <?php echo wp_kses_post($table_id) ?>> 22 22 <thead> 23 23 <tr> -
contact-form-entries/trunk/templates/view.php
r2975127 r3046066 433 433 } 434 434 } 435 foreach($fields as $field){ //var_dump($field[' basetype']);435 foreach($fields as $field){ //var_dump($field['type']); 436 436 437 437 if(!isset($field['name']) || !empty($field['vx_skip_edit'])){ continue; }
Note: See TracChangeset
for help on using the changeset viewer.