Plugin Directory

Changeset 3374790


Ignore:
Timestamp:
10/08/2025 05:37:35 AM (6 months ago)
Author:
zohocrm
Message:

The PHP warning issue has been fixed and updated

Location:
zoho-crm-forms/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zoho-crm-forms/trunk/Readme.txt

    r3374786 r3374790  
    77Author: Zoho CRM
    88Tested up to: 6.7.2
    9 Stable tag: 1.8.1.4
     9Stable tag: 1.8.1.5
    1010License: GPLv2 or later
    11 Version: 1.8.1.4
     11Version: 1.8.1.5
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313
     
    3053051.8.1.4
    306306Security review changes has been updated
     3071.8.1.5
     308The PHP warning issue has been fixed and updated
    307309== Upgrade notice ==
    308310
  • zoho-crm-forms/trunk/index.php

    r3259588 r3374790  
    44 * Plugin Name: Zoho CRM Lead Magnet
    55 * Description: Websites are one of the most important sources of leads for your business. That means your CRM system should be well integrated with your website to contextually capture each and every visitor to turn them into a lead.Introducing the Zoho CRM Lead Capture plugin for Wordpress. This lets you create webforms, embed them in your website, and automatically capture leads directly into your CRM with zero attenuation.Not only is the integration easy to set-up but it's also easy on your wallet.
    6  * Version: 1.8.1.4
     6 * Version: 1.8.1.5
    77 * ***************************************************************************************** */
    88if (!defined('ABSPATH'))
    99    exit;
    1010
    11         define( 'ZCF_VERSION', '1.8.1.4' );
     11        define( 'ZCF_VERSION', '1.8.1.5' );
    1212        define( 'ZCF_LBPLUGINFILE', __FILE__ );
    1313        define( 'ZCF_LBPLUGIN_URL', untrailingslashit( plugins_url( '', ZCF_LBPLUGINFILE ) ) );
     
    211211            $activatedplugin = "crmformswpbuilder";
    212212            $config = get_option("zcf_captcha_settings");
    213             if ($config['crmforms_recaptcha'] == 'yes') {
     213           $recaptcha_enabled = isset($config['crmforms_recaptcha']) && $config['crmforms_recaptcha'] === 'yes';
     214            if ($recaptcha_enabled) {
    214215                wp_register_script('google-captcha-js', "https://www.google.com/recaptcha/api.js");
    215216                wp_enqueue_script('google-captcha-js');
Note: See TracChangeset for help on using the changeset viewer.