Plugin Directory


Ignore:
Timestamp:
05/31/2024 05:04:08 AM (11 months ago)
Author:
f1logic
Message:

v1.6.2

Location:
contact-form-manager
Files:
104 added
6 edited

Legend:

Unmodified
Added
Removed
  • contact-form-manager/trunk/admin/install.php

    r2996952 r3095454  
    4343    add_option("xyz_cfm_recaptcha_type",0);
    4444   
    45 //  add_option("xyz_cfm_credit_link",0);
     45    add_option('xyz_cfm_nlm_code',bin2hex(random_bytes(5)));//Charecter length 10 (in hexdec each byte is represented by two characters)
    4646
    4747   
  • contact-form-manager/trunk/admin/setting.php

    r3042591 r3095454  
    7272            $xyz_cfm_layout_setting=intval($_POST['xyz_cfm_layout_setting']);
    7373            $xyz_cfm_recaptcha_type=intval($_POST['xyz_cfm_recaptcha_type']);
     74            $xyz_cfm_nlm_code = sanitize_text_field($_POST['xyz_cfm_nlm_code']);
    7475           
    7576            update_option('xyz_cfm_paging_limit',$xyz_cfm_pagelimit);
     
    8990            update_option('xyz_cfm_layout_setting',$xyz_cfm_layout_setting);
    9091            update_option('xyz_cfm_recaptcha_type',$xyz_cfm_recaptcha_type);
     92      update_option('xyz_cfm_nlm_code',$xyz_cfm_nlm_code);
    9193?>
    9294
     
    285287                </td>
    286288            </tr>
     289      <tr valign="top">
     290        <td scope="row" class=" settingInput" ><label for="xyz_cfm_nlm_code">Contact Form to Newsletter Manager Integrity Verification Code</label>
     291            <br/><span style="color: #0073aa;">[This is should be same for Newsletter Manager plugin]</span>
     292        </td>
     293        <td ><input  name="xyz_cfm_nlm_code" id="xyz_cfm_nlm_code" type="text"
     294          id="xyz_cfm_nlm_code" value="<?php if(isset($_POST['xyz_cfm_nlm_code']) && sanitize_text_field($_POST['xyz_cfm_nlm_code']) != ""){echo esc_attr ($_POST['xyz_cfm_nlm_code']);}else{echo esc_attr(get_option('xyz_cfm_nlm_code'));} ?>" />
     295                </td>
     296            </tr>
    287297            <tr>
    288298        <td></td>
  • contact-form-manager/trunk/admin/uninstall.php

    r1905269 r3095454  
    5151delete_option('xyz_cfm_recaptcha_private_key');
    5252delete_option('xyz_cfm_recaptcha_public_key');
    53 
     53delete_option('xyz_cfm_nlm_code');
    5454delete_option('xyz_cfm_sendViaSmtp');
    5555delete_option('xyz_cfm_SmtpDebug');
  • contact-form-manager/trunk/contact-form-manager.php

    r3042591 r3095454  
    44Plugin URI: http://xyzscripts.com/wordpress-plugins/contact-form-manager/
    55Description: Create  and manage multiple contact forms for your website. The plugin supports a wide range of form elements such as text field, email field, textarea, dropdown list, radio button, checkbox, date picker, captcha, file uploader etc. Shortcodes are generated such that, you can modify form element properties without having to replace the shortcode everytime.         
    6 Version: 1.6.1
     6Version: 1.6.2
    77Author: xyzscripts.com
    88Author URI: http://xyzscripts.com/
  • contact-form-manager/trunk/create-contact-form.php

    r2996952 r3095454  
    7676
    7777    if(is_array($id)){
    78         $formId = $id['id'];
     78        $formId=esc_html($id['id']);
    7979
    8080
     
    732732                        * */
    733733
    734                         $hash_valid=md5("f1logic505");
     734                        $hash_valid=md5(get_option('xyz_cfm_nlm_code'));
    735735                        if ( is_plugin_active('xyz-wp-newsletter/xyz-wp-newsletter.php') ) {
    736736
  • contact-form-manager/trunk/readme.txt

    r3042591 r3095454  
    55Requires at least: 2.8
    66Requires PHP: 5.0
    7 Tested up to: 6.4.3
    8 Stable tag: 1.6.1
     7Tested up to: 6.5.3
     8Stable tag: 1.6.2
    99License: GPLv2 or later
    1010
     
    185185== Changelog ==
    186186
     187= Contact Form Manager 1.6.2 =
     188* Added Contact Form to Newsletter Manager Integrity Verification Code
     189* Compatibility with latest version of WordPress
    187190= Contact Form Manager 1.6.1 =
    188191* Patch security vulnerability
Note: See TracChangeset for help on using the changeset viewer.