Plugin Directory

Changeset 3046066


Ignore:
Timestamp:
03/06/2024 05:03:48 AM (14 months ago)
Author:
CRMPerks
Message:

releasing 1.3.4

Location:
contact-form-entries/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • contact-form-entries/trunk/contact-form-entries.php

    r3028640 r3046066  
    33* Plugin Name: Contact Form Entries
    44* 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.3
     5* Version: 1.3.4
    66* Requires at least: 3.8
    77* Tested up to: 6.4
     
    2727  public static $path = '';
    2828
    29   public static  $version = '1.3.3';
     29  public static  $version = '1.3.4';
    3030  public static $upload_folder = 'crm_perks_uploads';
    3131  public static $db_version=''; 
     
    264264      $table_id='';
    265265    if(!empty($atts['id'])){
    266    $table_id='id="'.esc_attr($atts['font-size']).'"';   
     266   $table_id='id="'.esc_attr($atts['id']).'"';   
    267267  }
    268268  //var_dump($fields);
     
    693693$post_data=$submission->get_posted_data();
    694694//var_dump($post_data); die();
    695  $lead=array();
     695 $lead=array(); 
    696696if(is_array($post_data)){
    697697  foreach($post_data as $k=>$val){
     
    706706   }
    707707
    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') ){
    709710      $dir=dnd_get_upload_dir();
    710711     $f_arr=array();
    711712      foreach($val as $file){
    712713     $file_name=explode('/',$file);
    713      if(count($file_name)>1){
     714     if(count($file_name)>1){ var_dump($file_name,$file); 
    714715      $f_arr[]=$dir['upload_url'].'/'.$file_name[1];   
    715716     }
    716717      }
    717         
     718       
    718719   $val=$f_arr;   
    719    } 
     720   }*/
     721   
    720722    if(!isset($uploaded_files[$name])){
    721723     $val=wp_unslash($val);   
     
    19891991       $field['type_']=$tag['type'];
    19901992       $field['type']=$tag['basetype'];
     1993       if($tag['basetype'] == 'mfile'){ $field['type']='file'; }
    19911994       $field['req']=strpos($tag['type'],'*') !==false ? 'true' : '';
    19921995       
  • contact-form-entries/trunk/readme.txt

    r3028640 r3046066  
    44Requires at least: 3.8
    55Tested up to: 6.4
    6 Stable tag: 1.3.3
    7 Version: 1.3.3
     6Stable tag: 1.3.4
     7Version: 1.3.4
    88Requires PHP: 5.3
    99License: GPLv3
     
    167167== Changelog ==
    168168
     169= 1.3.4 =
     170* fixed "xss issue with font-size attribute of table".
     171
    169172= 1.3.3 =
    170173* fixed "ninja forms hidden fields" issue.
  • contact-form-entries/trunk/templates/leads-table.php

    r2793027 r3046066  
    1919  $thumb_width='70';  if(!empty($atts['thumb-width'])){ $thumb_width=$atts['thumb-width']; }
    2020?>
    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) ?>>
    2222  <thead>
    2323  <tr>
  • contact-form-entries/trunk/templates/view.php

    r2975127 r3046066  
    433433       }   
    434434      }
    435   foreach($fields as $field){ //var_dump($field['basetype']);
     435  foreach($fields as $field){ //var_dump($field['type']);
    436436 
    437437  if(!isset($field['name']) || !empty($field['vx_skip_edit'])){  continue; }
Note: See TracChangeset for help on using the changeset viewer.