Plugin Directory

Changeset 3467497


Ignore:
Timestamp:
02/23/2026 09:55:34 AM (5 weeks ago)
Author:
bestwebsoft
Message:

"We updated readme.txt file."

Location:
contact-form-to-db
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contact-form-to-db/tags/1.7.4/contact_form_to_db.php

    r3212660 r3467497  
    573573                        $custom_fields_cf[ $custom_field_title ] = $value;
    574574                    }
     575                }
     576            } else {
     577                if ( isset( $_POST['cntctfrm_contact_dropdown'] ) ) {
     578                    if ( empty( $cntctfrm_options_for_this_plugin ) ) {
     579                        cntctfrm_options_for_this_plugin();
     580                    }
     581                    $lang = isset( $_POST['cntctfrm_language'] ) ? sanitize_text_field( wp_unslash( $_POST['cntctfrm_language'] ) ) : 'default';
     582                    $custom_fields_cf = array( $cntctfrm_options_for_this_plugin['dropdown_label'][ $lang ] => $_POST['cntctfrm_contact_dropdown'] );
    575583                }
    576584            }
     
    20242032                    $custom_fields_content .= '<div class="custom-fields-container">';
    20252033                    foreach ( $custom_fields as $key => $custom_field ) {
    2026                         $custom_fields_content .= '<div class="cntctfrmtdb-custom-field-text"><strong>' . $key . ':</strong> ';
     2034                        $custom_fields_content .= '<div class="cntctfrmtdb-custom-field-text"><strong>' . trim( $key, ':' ) . ':</strong> ';
    20272035                        $custom_fields_content .= $custom_field . '</div>';
    20282036                    }
  • contact-form-to-db/tags/1.7.4/readme.txt

    r3310518 r3467497  
    11=== Contact Form to DB by BestWebSoft - Messages Database Plugin For WordPress ===
    2 Contributors: bestweblayout
     2Contributors: bestwebsoft
    33Donate link: https://bestwebsoft.com/donate/
    4 Tags: browse messages, cf add on, contact button, contact form add on, contact form parameters
     4Tags: browse messages, cf add on, contact button, contact form add on, contact form parameters, contact form plugin, contact form to db, save messages, download messages, contact us form, web page feedback, delete messages
    55Requires at least: 5.6
    6 Tested up to: 6.8
     6Tested up to: 6.7
    77Stable tag: 1.7.4
    88License: GPLv2 or later
  • contact-form-to-db/trunk/contact_form_to_db.php

    r3212660 r3467497  
    573573                        $custom_fields_cf[ $custom_field_title ] = $value;
    574574                    }
     575                }
     576            } else {
     577                if ( isset( $_POST['cntctfrm_contact_dropdown'] ) ) {
     578                    if ( empty( $cntctfrm_options_for_this_plugin ) ) {
     579                        cntctfrm_options_for_this_plugin();
     580                    }
     581                    $lang = isset( $_POST['cntctfrm_language'] ) ? sanitize_text_field( wp_unslash( $_POST['cntctfrm_language'] ) ) : 'default';
     582                    $custom_fields_cf = array( $cntctfrm_options_for_this_plugin['dropdown_label'][ $lang ] => $_POST['cntctfrm_contact_dropdown'] );
    575583                }
    576584            }
     
    20242032                    $custom_fields_content .= '<div class="custom-fields-container">';
    20252033                    foreach ( $custom_fields as $key => $custom_field ) {
    2026                         $custom_fields_content .= '<div class="cntctfrmtdb-custom-field-text"><strong>' . $key . ':</strong> ';
     2034                        $custom_fields_content .= '<div class="cntctfrmtdb-custom-field-text"><strong>' . trim( $key, ':' ) . ':</strong> ';
    20272035                        $custom_fields_content .= $custom_field . '</div>';
    20282036                    }
Note: See TracChangeset for help on using the changeset viewer.