Plugin Directory

Changeset 2798120


Ignore:
Timestamp:
10/13/2022 05:07:04 AM (3 years ago)
Author:
pieforms
Message:

1.4.9.9

Location:
pie-forms-for-wp/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pie-forms-for-wp/trunk/includes/admin/entriestable.php

    r2762337 r2798120  
    175175        $entry_fields = Pie_forms()->core()->pform_decode( $entry->fields );
    176176        if ( ! empty( $entry_fields[ $field_id ] ) ) {
    177             $value = $entry_fields[ $field_id ];
     177            if($entry_fields[ $field_id ]['type'] == 'checkbox'){
     178                $value = implode( ',' , $entry_fields[ $field_id ]["value"]['label']);
     179            }
     180            else{
     181                $value = $entry_fields[ $field_id ]["value"] ;
     182            }
    178183           
    179184            if ( is_serialized( $value ) ) {
     
    193198            }
    194199
    195             return apply_filters( 'pie_forms_html_field_value', $value['value'], $entry_fields[ $field_id ], $entry, 'entry-table' );
     200            return apply_filters( 'pie_forms_html_field_value', $value, $entry_fields[ $field_id ], $entry, 'entry-table' );
    196201        } else {
    197202            return '<span class="na">&mdash;</span>';
  • pie-forms-for-wp/trunk/includes/fields/sectiontitle.php

    r2587497 r2798120  
    1111        $this->order    = 150;
    1212        $this->group    = 'advanced';
    13         $this->is_pro   = true;
     13        // $this->is_pro   = false;
     14        $this->settings = array(
     15            'basic-options'    => array(
     16                'field_options' => array(
     17                    'label',
     18                    'meta',
     19                    'description',
     20                ),
     21            ),
     22            'advanced-options' => array(
     23                'field_options' => array(
     24                    'css',
     25                ),
     26            ),
     27        );
     28        parent::__construct();
     29       
     30    }
    1431
    15         parent::__construct();
    16     }
     32    /**
     33     * Field preview inside the builder.
     34     */
     35    public function field_preview( $field , $form_data) {
     36        // Label.
     37        $this->field_preview_option( 'label', $field );
     38        // Description.
     39        $this->field_preview_option( 'description', $field );
     40    }
    1741}
  • pie-forms-for-wp/trunk/includes/form/task.php

    r2719536 r2798120  
    1414    public function __construct() {
    1515        add_action( 'wp', array( $this, 'listen_task' ) );
     16        add_action('pie_form_entry_save' , array( $this, 'entry_save' ) ,10 ,4);
    1617    }
    1718
  • pie-forms-for-wp/trunk/pie-forms-for-wp.php

    r2787376 r2798120  
    33Plugin Name: Pie Forms - Basic
    44Description: The Intelligent and Easy WordPress Form Builder Dynamic forms, Built-in Ready to use Templates, Advanced field options, Anti-spam features, and more!
    5 Version: 1.4.9.8
     5Version: 1.4.9.9
    66Author: Pie Forms
    77Author URI: https://www.pieforms.com
     
    4141    {
    4242
    43         const VERSION = '1.4.9.8';
     43        const VERSION = '1.4.9.9';
    4444       
    4545        const DB_VERSION = '1.2';
  • pie-forms-for-wp/trunk/readme.txt

    r2787376 r2798120  
    55Tested up to: 6.0.2
    66Requires PHP: 7.0
    7 Stable tag: 1.4.9.8
     7Stable tag: 1.4.9.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    210210== CHANGELOG ==
    211211
     212### 1.4.9.9
     213* Added: Action in Zapier Addon.
     214* Fixed: Checkbox data in entries table.
     215* Added: Section title.
     216
    212217### 1.4.9.8
    213218* Fixed: Form Settings icons.
Note: See TracChangeset for help on using the changeset viewer.