Plugin Directory

Changeset 3207555


Ignore:
Timestamp:
12/13/2024 11:35:31 AM (16 months ago)
Author:
ashishajani
Message:

Resolved a bug related to vCard attachment to admin email

Location:
contact-form-vcard-generator/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contact-form-vcard-generator/trunk/contact-form-vcard-generator.php

    r3198912 r3207555  
    55  Description: WordPress plugin to generate vCard from Contact Form 7 inquiries.
    66  Author: Ashish Ajani
    7   Version: 2.3
     7  Version: 2.4
    88  Author URI: http://freelancer-coder.com/
    99  License: GPLv2 or later
  • contact-form-vcard-generator/trunk/includes/wp-gvc-cf-action.class.php

    r3043459 r3207555  
    7575         */
    7676        public function wp_gvccf_save_cf7($wpcf7) {
    77             if (wp_gvccf_check_cf7_version()) {
     77            if (wp_gvccf_check_cf7_version()) {               
    7878                $wp_gvccf_cf_obj = WPCF7_ContactForm::get_current();
    7979                $submission = WPCF7_Submission::get_instance();
     
    116116                        $shortcode = get_option('wp_gvccf_cf_shortcode');
    117117                        $form_id = wp_gvccf_get_id_from_shortcode($shortcode);
    118                         if (isset($result->cf7_form_id) && $result->cf7_form_id == $form_id) {
    119                             $result = wp_gvccf_get_cf7_settings($table);
    120                            
     118                        if (isset($result->cf7_form_id)) {
     119                            $result = wp_gvccf_get_cf7_settings($table);                           
    121120                            if ($result->is_send_vcard_enable == '1') {               
    122121                                $wp_gvccf_selected_fields = $result->selected_vcard_fields;
     
    199198                            $shortcode = get_option('wp_gvccf_cf_shortcode');
    200199                            $form_id = wp_gvccf_get_id_from_shortcode($shortcode);
    201                             if (isset($result->cf7_form_id) && $result->cf7_form_id == $form_id) {
     200                            if (isset($result->cf7_form_id)) {
    202201                                $result = wp_gvccf_get_cf7_settings($table);
    203202                                if ($result->is_send_vcard_enable == '1') {
  • contact-form-vcard-generator/trunk/readme.txt

    r3198912 r3207555  
    66Tested up to: 6.7.1
    77Requires PHP: 8.1
    8 Stable tag: 2.3
     8Stable tag: 2.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7575
    7676== Changelog ==
     77
     78= 2.4 =
     79* Resolved a bug to make sure the vCard is attached to admin email.
     80
    7781= 2.3 =
    7882* Made it compatible with the latest PHP and WordPress version.
Note: See TracChangeset for help on using the changeset viewer.