Plugin Directory

Changeset 3293619


Ignore:
Timestamp:
05/15/2025 03:07:46 AM (10 months ago)
Author:
leafcrm
Message:

Update to version 1.1.0: Added support for custom tenant domains and updated WordPress compatibility to 6.8

Location:
leaf-crm
Files:
1 added
14 edited
8 copied

Legend:

Unmodified
Added
Removed
  • leaf-crm/tags/1.1.0/README.txt

    r3293615 r3293619  
    44Tags: contactform7,cf7,ninjaforms,contactforms,wpforms,forminator
    55Requires at least: 5.0
    6 Tested up to: 6.2
     6Tested up to: 6.8
    77Requires PHP: 5.6
    8 Stable tag: 1.0.1
     8Stable tag: 1.1.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6565== Changelog ==
    6666
     67= 1.1.0 =
     68* Added support for custom tenant domains
     69
    6770= 1.0.1 =
    6871* Added support for Contact Form 7 to capture dropdown fields values
    6972
    70  = 1.0.0 =
     73= 1.0.0 =
    7174* First Release, support the following contact form plugins:
    7275 * Contact Form 7
  • leaf-crm/tags/1.1.0/admin/partials/leaf-crm-admin-display.php

    r2924616 r3293619  
    3333        "availableIntegrations" => Leaf_Crm_Options::get_integrations(), // icon urls have been escaped in this function
    3434        "leafToken" => isset($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) : '',
     35        "leafDomain" => isset($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) : '',
    3536        "leafWebsite" => isset($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) : '',
    3637        "Status" => Leaf_Crm_Integration_Status::to_array()
     
    4950
    5051                    <div class="text-dark fs-2 fw-bold mb-4 text-center"><?php esc_html_e('Send Leads to Leaf CRM', 'leaf-crm') ?></div>
     52
     53                    <!--begin::Input group-->
     54                    <div class="fv-row mb-4">
     55                        <!--begin::Label-->
     56                        <label for="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" class="text-dark fs-7 fw-normal mb-2"><?php esc_html_e('Tenant Domain', 'leaf-crm') ?></label>
     57                        <!--end::Label-->
     58                        <!--begin::Input-->
     59                        <input class="form-control rounded-1 py-2 px-6 fs-7" name="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" type="text" value="" placeholder="app.leaf.my">
     60                        <span class="fs-8 text-muted"><?php esc_html_e('Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)', 'leaf-crm') ?></span>
     61
     62                        <div class="invalid-feedback"><span id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>_error"></span></div>
     63                        <!--end::Input-->
     64                    </div>
     65                    <!--end::Input group-->
    5166
    5267                    <!--begin::Input group-->
     
    117132
    118133            // populate saved data
     134            jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>').val(wpSettingsData.leafDomain);
    119135            jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_TOKEN_NAME); ?>').val(wpSettingsData.leafToken);
    120136            jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_WEBSITE_NAME); ?>').val(wpSettingsData.leafWebsite);
  • leaf-crm/tags/1.1.0/includes/class-leaf-crm-api.php

    r2924616 r3293619  
    4242        $is_enabled = $this->is_integration_enabled();
    4343        if (!$endpoint || !$payload || !$is_enabled) return;
     44       
     45        // Check if we need to modify the endpoint based on domain
     46        $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
     47        if (!empty($domain)) {
     48            // Replace the base URL in the endpoint with the domain-specific one
     49            $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain);
     50            $endpoint = str_replace(Leaf_Crm_Constants::API_BASE_URL, $base_url, $endpoint);
     51        }
     52       
    4453        $payload["form_name"] = $this->form_name;
    4554        $options = [
     
    5766    public function subscribe_leaf_crm()
    5867    {
    59         $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL;
    60         $token = Leaf_Crm_Options::get_single_value('leaf_crm_token');
     68        $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
     69        $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME);
     70       
     71        // If domain is provided, use it to build the endpoint URL
     72        if (!empty($domain)) {
     73            $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain);
     74            $endpoint = $base_url . '/subscribe';
     75        } else {
     76            $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL;
     77        }
     78       
    6179        if ($token != null) {
    6280            $payload = [
     
    7997    public function unsubscribe_leaf_crm()
    8098    {
    81         $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL;
    82         $token = Leaf_Crm_Options::get_single_value('leaf_crm_token');
     99        $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
     100        $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME);
     101       
     102        // If domain is provided, use it to build the endpoint URL
     103        if (!empty($domain)) {
     104            $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain);
     105            $endpoint = $base_url . '/unsubscribe';
     106        } else {
     107            $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL;
     108        }
     109       
    83110        if ($token != null) {
    84111            $payload = [
  • leaf-crm/tags/1.1.0/includes/class-leaf-crm-constants.php

    r2924616 r3293619  
    77class Leaf_Crm_Constants
    88{
     9    // Base URL template that will be formatted with the tenant domain
     10    public const API_BASE_URL_TEMPLATE = 'https://%s/api/integration/wordpress';
     11    // Default API URL for backward compatibility
    912    public const API_BASE_URL = 'https://app.leaf.my/api/integration/wordpress';
    1013    public const WEB_BASE_URL = 'https://www.leaf.my';
     
    1518    public const WP_SAVE_HOOK_NAME = 'leaf_crm_save_options';
    1619    public const LEAF_TOKEN_NAME = 'leaf_crm_token';
     20    public const LEAF_DOMAIN_NAME = 'leaf_crm_domain';
    1721    public const LEAF_WEBSITE_NAME = 'leaf_website';
    1822
     
    4852    );
    4953
    50     public static function get_webhook_url($integration_key)
     54    public static function get_webhook_url($integration_key, $domain = null)
    5155    {
    5256        $supported_keys = array_column(self::SUPPORTED_INTEGRATIONS, 'key');
    5357        $found_index = array_search($integration_key, $supported_keys);
    54         return self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl'];
     58        $webhook_url = self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl'];
     59       
     60        // If domain is provided, replace the base URL with the tenant-specific URL
     61        if (!empty($domain)) {
     62            $base_url = sprintf(self::API_BASE_URL_TEMPLATE, $domain);
     63            $webhook_url = str_replace(self::API_BASE_URL, $base_url, $webhook_url);
     64        }
     65       
     66        return $webhook_url;
    5567    }
    5668
  • leaf-crm/tags/1.1.0/includes/class-leaf-crm-options.php

    r2924616 r3293619  
    2222    {
    2323        $allowed_keys = array_column(Leaf_Crm_Constants::SUPPORTED_INTEGRATIONS, 'key');
    24         array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME);
     24        array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME, Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
    2525        $filtered_values = array_intersect_key($fields, array_flip($allowed_keys));
    2626        update_option(Leaf_Crm_Constants::WP_OPTION_NAME, $filtered_values);
     
    110110        $validation_rules = [
    111111            'leaf_crm_token' => ['required', 'string', 'regex:/^(\bleaf-)([a-zA-Z\d]{8})$/'],
     112            'leaf_crm_domain' => ['nullable', 'string', 'regex:/^[a-zA-Z0-9][a-zA-Z0-9-]*\.leaf\.my$/'],
    112113            'leaf_website' => ['string', 'max:120'],
    113114            'site_url' => ['required', 'url'],
     
    121122        $field_names = [
    122123            'leaf_crm_token' => 'Leaf CRM Token',
     124            'leaf_crm_domain' => 'Tenant Domain',
    123125            'leaf_website' => 'Website Name',
    124126            'site_url' => 'Website URL',
  • leaf-crm/tags/1.1.0/languages/leaf-crm-ms_MY.po

    r2924616 r3293619  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Leaf CRM\n"
     5"Project-Id-Version: Leaf CRM 1.1.0\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/plugin-name\n"
    77"POT-Creation-Date: 2023-04-13 10:13+0800\n"
     
    2929
    3030#: admin/partials/leaf-crm-admin-display.php:55
     31msgid "Tenant Domain"
     32msgstr "Domain Penyewa"
     33
     34#: admin/partials/leaf-crm-admin-display.php:59
     35msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)"
     36msgstr "Masukkan domain penyewa Leaf CRM anda (contoh: app.leaf.my atau syarikat-anda.leaf.my)"
     37
     38#: admin/partials/leaf-crm-admin-display.php:65
    3139msgid "Leaf CRM Token"
    3240msgstr "Token Leaf CRM"
    3341
    34 #: admin/partials/leaf-crm-admin-display.php:59
     42#: admin/partials/leaf-crm-admin-display.php:69
    3543msgid ""
    3644"Get the integration token after you have added the WordPress lead source to "
  • leaf-crm/tags/1.1.0/languages/leaf-crm.pot

    r2924616 r3293619  
    44msgid ""
    55msgstr ""
    6 "Project-Id-Version: Leaf CRM 1.0.0\n"
     6"Project-Id-Version: Leaf CRM 1.1.0\n"
    77"Report-Msgid-Bugs-To: http://wordpress.org/tag/leaf-crm\n"
    88"POT-Creation-Date: 2023-04-13 10:14+0800\n"
     
    2929
    3030#: admin/partials/leaf-crm-admin-display.php:55
     31msgid "Tenant Domain"
     32msgstr ""
     33
     34#: admin/partials/leaf-crm-admin-display.php:59
     35msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)"
     36msgstr ""
     37
     38#: admin/partials/leaf-crm-admin-display.php:65
    3139msgid "Leaf CRM Token"
    3240msgstr ""
    3341
    34 #: admin/partials/leaf-crm-admin-display.php:59
     42#: admin/partials/leaf-crm-admin-display.php:69
    3543msgid ""
    3644"Get the integration token after you have added the WordPress lead "
  • leaf-crm/tags/1.1.0/leaf-crm.php

    r3293615 r3293619  
    1717 * Plugin URI:        https://wordpress.org/plugins/leaf-crm
    1818 * Description:       Leaf CRM streamlines lead capture and management from Facebook, TikTok, Instagram, Google, enhancing sales team productivity and boosting conversion rates.
    19  * Version:           1.0.1
     19 * Version:           1.1.0
    2020 * Author:            Leaf CRM Team
    2121 * Author URI:        https://www.leaf.my/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'LEAF_CRM_VERSION', '1.0.1' );
     38define( 'LEAF_CRM_VERSION', '1.1.0' );
    3939
    4040global $wpdb;
  • leaf-crm/trunk/README.txt

    r2946401 r3293619  
    44Tags: contactform7,cf7,ninjaforms,contactforms,wpforms,forminator
    55Requires at least: 5.0
    6 Tested up to: 6.2
     6Tested up to: 6.8
    77Requires PHP: 5.6
    8 Stable tag: 1.0.1
     8Stable tag: 1.1.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6565== Changelog ==
    6666
     67= 1.1.0 =
     68* Added support for custom tenant domains
     69
    6770= 1.0.1 =
    6871* Added support for Contact Form 7 to capture dropdown fields values
    6972
    70  = 1.0.0 =
     73= 1.0.0 =
    7174* First Release, support the following contact form plugins:
    7275 * Contact Form 7
  • leaf-crm/trunk/admin/partials/leaf-crm-admin-display.php

    r2924616 r3293619  
    3333        "availableIntegrations" => Leaf_Crm_Options::get_integrations(), // icon urls have been escaped in this function
    3434        "leafToken" => isset($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_TOKEN_NAME]) : '',
     35        "leafDomain" => isset($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_DOMAIN_NAME]) : '',
    3536        "leafWebsite" => isset($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) ? esc_html($leaf_options[Leaf_Crm_Constants::LEAF_WEBSITE_NAME]) : '',
    3637        "Status" => Leaf_Crm_Integration_Status::to_array()
     
    4950
    5051                    <div class="text-dark fs-2 fw-bold mb-4 text-center"><?php esc_html_e('Send Leads to Leaf CRM', 'leaf-crm') ?></div>
     52
     53                    <!--begin::Input group-->
     54                    <div class="fv-row mb-4">
     55                        <!--begin::Label-->
     56                        <label for="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" class="text-dark fs-7 fw-normal mb-2"><?php esc_html_e('Tenant Domain', 'leaf-crm') ?></label>
     57                        <!--end::Label-->
     58                        <!--begin::Input-->
     59                        <input class="form-control rounded-1 py-2 px-6 fs-7" name="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>" type="text" value="" placeholder="app.leaf.my">
     60                        <span class="fs-8 text-muted"><?php esc_html_e('Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)', 'leaf-crm') ?></span>
     61
     62                        <div class="invalid-feedback"><span id="<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>_error"></span></div>
     63                        <!--end::Input-->
     64                    </div>
     65                    <!--end::Input group-->
    5166
    5267                    <!--begin::Input group-->
     
    117132
    118133            // populate saved data
     134            jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_DOMAIN_NAME); ?>').val(wpSettingsData.leafDomain);
    119135            jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_TOKEN_NAME); ?>').val(wpSettingsData.leafToken);
    120136            jQuery('#<?php echo esc_html(Leaf_Crm_Constants::LEAF_WEBSITE_NAME); ?>').val(wpSettingsData.leafWebsite);
  • leaf-crm/trunk/includes/class-leaf-crm-api.php

    r2924616 r3293619  
    4242        $is_enabled = $this->is_integration_enabled();
    4343        if (!$endpoint || !$payload || !$is_enabled) return;
     44       
     45        // Check if we need to modify the endpoint based on domain
     46        $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
     47        if (!empty($domain)) {
     48            // Replace the base URL in the endpoint with the domain-specific one
     49            $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain);
     50            $endpoint = str_replace(Leaf_Crm_Constants::API_BASE_URL, $base_url, $endpoint);
     51        }
     52       
    4453        $payload["form_name"] = $this->form_name;
    4554        $options = [
     
    5766    public function subscribe_leaf_crm()
    5867    {
    59         $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL;
    60         $token = Leaf_Crm_Options::get_single_value('leaf_crm_token');
     68        $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
     69        $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME);
     70       
     71        // If domain is provided, use it to build the endpoint URL
     72        if (!empty($domain)) {
     73            $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain);
     74            $endpoint = $base_url . '/subscribe';
     75        } else {
     76            $endpoint = Leaf_Crm_Constants::LEAF_SUBSCRIBE_URL;
     77        }
     78       
    6179        if ($token != null) {
    6280            $payload = [
     
    7997    public function unsubscribe_leaf_crm()
    8098    {
    81         $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL;
    82         $token = Leaf_Crm_Options::get_single_value('leaf_crm_token');
     99        $domain = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
     100        $token = Leaf_Crm_Options::get_single_value(Leaf_Crm_Constants::LEAF_TOKEN_NAME);
     101       
     102        // If domain is provided, use it to build the endpoint URL
     103        if (!empty($domain)) {
     104            $base_url = sprintf(Leaf_Crm_Constants::API_BASE_URL_TEMPLATE, $domain);
     105            $endpoint = $base_url . '/unsubscribe';
     106        } else {
     107            $endpoint = Leaf_Crm_Constants::LEAF_UNSUBSCRIBE_URL;
     108        }
     109       
    83110        if ($token != null) {
    84111            $payload = [
  • leaf-crm/trunk/includes/class-leaf-crm-constants.php

    r2924616 r3293619  
    77class Leaf_Crm_Constants
    88{
     9    // Base URL template that will be formatted with the tenant domain
     10    public const API_BASE_URL_TEMPLATE = 'https://%s/api/integration/wordpress';
     11    // Default API URL for backward compatibility
    912    public const API_BASE_URL = 'https://app.leaf.my/api/integration/wordpress';
    1013    public const WEB_BASE_URL = 'https://www.leaf.my';
     
    1518    public const WP_SAVE_HOOK_NAME = 'leaf_crm_save_options';
    1619    public const LEAF_TOKEN_NAME = 'leaf_crm_token';
     20    public const LEAF_DOMAIN_NAME = 'leaf_crm_domain';
    1721    public const LEAF_WEBSITE_NAME = 'leaf_website';
    1822
     
    4852    );
    4953
    50     public static function get_webhook_url($integration_key)
     54    public static function get_webhook_url($integration_key, $domain = null)
    5155    {
    5256        $supported_keys = array_column(self::SUPPORTED_INTEGRATIONS, 'key');
    5357        $found_index = array_search($integration_key, $supported_keys);
    54         return self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl'];
     58        $webhook_url = self::SUPPORTED_INTEGRATIONS[$found_index]['webhookUrl'];
     59       
     60        // If domain is provided, replace the base URL with the tenant-specific URL
     61        if (!empty($domain)) {
     62            $base_url = sprintf(self::API_BASE_URL_TEMPLATE, $domain);
     63            $webhook_url = str_replace(self::API_BASE_URL, $base_url, $webhook_url);
     64        }
     65       
     66        return $webhook_url;
    5567    }
    5668
  • leaf-crm/trunk/includes/class-leaf-crm-options.php

    r2924616 r3293619  
    2222    {
    2323        $allowed_keys = array_column(Leaf_Crm_Constants::SUPPORTED_INTEGRATIONS, 'key');
    24         array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME);
     24        array_push($allowed_keys, Leaf_Crm_Constants::LEAF_WEBSITE_NAME, Leaf_Crm_Constants::LEAF_TOKEN_NAME, Leaf_Crm_Constants::LEAF_DOMAIN_NAME);
    2525        $filtered_values = array_intersect_key($fields, array_flip($allowed_keys));
    2626        update_option(Leaf_Crm_Constants::WP_OPTION_NAME, $filtered_values);
     
    110110        $validation_rules = [
    111111            'leaf_crm_token' => ['required', 'string', 'regex:/^(\bleaf-)([a-zA-Z\d]{8})$/'],
     112            'leaf_crm_domain' => ['nullable', 'string', 'regex:/^[a-zA-Z0-9][a-zA-Z0-9-]*\.leaf\.my$/'],
    112113            'leaf_website' => ['string', 'max:120'],
    113114            'site_url' => ['required', 'url'],
     
    121122        $field_names = [
    122123            'leaf_crm_token' => 'Leaf CRM Token',
     124            'leaf_crm_domain' => 'Tenant Domain',
    123125            'leaf_website' => 'Website Name',
    124126            'site_url' => 'Website URL',
  • leaf-crm/trunk/languages/leaf-crm-ms_MY.po

    r2924616 r3293619  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Leaf CRM\n"
     5"Project-Id-Version: Leaf CRM 1.1.0\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/plugin-name\n"
    77"POT-Creation-Date: 2023-04-13 10:13+0800\n"
     
    2929
    3030#: admin/partials/leaf-crm-admin-display.php:55
     31msgid "Tenant Domain"
     32msgstr "Domain Penyewa"
     33
     34#: admin/partials/leaf-crm-admin-display.php:59
     35msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)"
     36msgstr "Masukkan domain penyewa Leaf CRM anda (contoh: app.leaf.my atau syarikat-anda.leaf.my)"
     37
     38#: admin/partials/leaf-crm-admin-display.php:65
    3139msgid "Leaf CRM Token"
    3240msgstr "Token Leaf CRM"
    3341
    34 #: admin/partials/leaf-crm-admin-display.php:59
     42#: admin/partials/leaf-crm-admin-display.php:69
    3543msgid ""
    3644"Get the integration token after you have added the WordPress lead source to "
  • leaf-crm/trunk/languages/leaf-crm.pot

    r2924616 r3293619  
    44msgid ""
    55msgstr ""
    6 "Project-Id-Version: Leaf CRM 1.0.0\n"
     6"Project-Id-Version: Leaf CRM 1.1.0\n"
    77"Report-Msgid-Bugs-To: http://wordpress.org/tag/leaf-crm\n"
    88"POT-Creation-Date: 2023-04-13 10:14+0800\n"
     
    2929
    3030#: admin/partials/leaf-crm-admin-display.php:55
     31msgid "Tenant Domain"
     32msgstr ""
     33
     34#: admin/partials/leaf-crm-admin-display.php:59
     35msgid "Enter your Leaf CRM tenant domain (e.g., app.leaf.my or your-company.leaf.my)"
     36msgstr ""
     37
     38#: admin/partials/leaf-crm-admin-display.php:65
    3139msgid "Leaf CRM Token"
    3240msgstr ""
    3341
    34 #: admin/partials/leaf-crm-admin-display.php:59
     42#: admin/partials/leaf-crm-admin-display.php:69
    3543msgid ""
    3644"Get the integration token after you have added the WordPress lead "
  • leaf-crm/trunk/leaf-crm.php

    r2946401 r3293619  
    1717 * Plugin URI:        https://wordpress.org/plugins/leaf-crm
    1818 * Description:       Leaf CRM streamlines lead capture and management from Facebook, TikTok, Instagram, Google, enhancing sales team productivity and boosting conversion rates.
    19  * Version:           1.0.1
     19 * Version:           1.1.0
    2020 * Author:            Leaf CRM Team
    2121 * Author URI:        https://www.leaf.my/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'LEAF_CRM_VERSION', '1.0.1' );
     38define( 'LEAF_CRM_VERSION', '1.1.0' );
    3939
    4040global $wpdb;
Note: See TracChangeset for help on using the changeset viewer.