Plugin Directory

Changeset 2840274


Ignore:
Timestamp:
12/28/2022 07:03:20 AM (3 years ago)
Author:
wppool
Message:

Tagging version 1.1.6

Location:
social-contact-form
Files:
18 added
10 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • social-contact-form/tags/1.1.6/includes/Boot.php

    r2817204 r2840274  
    1313
    1414// Require files
    15 if ( file_exists( SCF_INC . '/WPPOOL/Plugin.php' ) ) {
    16     require_once SCF_INC . '/WPPOOL/Plugin.php';
     15if ( file_exists( SCF_INC . '/wppool/src/Plugin.php' ) ) {
     16    require_once SCF_INC . '/wppool/src/Plugin.php';
    1717}
    18 
    19 if ( file_exists( SCF_INC . '/appsero/Client.php' ) && !class_exists('\SocialContactForm\Appsero\Client') ) {
    20     require_once SCF_INC . '/appsero/Client.php';
    21 }
    22 
     18 
    2319// core files
    2420require_once SCF_INC . '/others/Common.php';
  • social-contact-form/tags/1.1.6/includes/admin/Hooks.php

    r2817204 r2840274  
    1616        {
    1717            register_activation_hook(SCF_FILE, array($this, 'activate_scf'));
     18
     19            # appsero
     20            $this->init_appsero();
     21
     22
    1823            add_action('init', array($this, 'register_scf_settings'));
    1924
     
    2328            // add_action('scf_setting_footer', array($this, 'scf_setting_footer')); 
    2429
    25             # appsero
    26             add_action('init', [$this, 'init_appsero']);
    2730
    2831            add_filter('plugin_action_links_' . plugin_basename(SCF_FILE), array($this, 'plugin_action_links'));
     
    221224        public function init_appsero()
    222225        {
    223             if (class_exists('\SocialContactForm\Appsero\Client')) {
    224                 $this->appsero = new \SocialContactForm\Appsero\Client('9b39bac1-3b27-41d1-aeec-18fbfd4a9977', 'Social Contact Form', SCF_FILE);
    225                 $this->appsero->set_textdomain('social-contact-form');
    226                 // Active insights
     226            if (!class_exists('\Appsero\Client')) {
     227                require_once SCF_INC . '/appsero/src/Client.php';
     228            }
     229
     230            add_filter('appsero_is_local', '__return_false');
     231
     232            $this->appsero = new \Appsero\Client('9b39bac1-3b27-41d1-aeec-18fbfd4a9977', 'Social Contact Form', SCF_FILE);
     233            $this->appsero->set_textdomain('social-contact-form');
    227234           
    228                 $this->appsero->insights()->init();
    229             }
     235            // Active insights     
     236            $this->appsero->insights()->init();
     237           
     238            $scf_plugin = new \WPPOOL\Plugin('social_contact_form');
     239            $scf_plugin->appsero();
     240
    230241        }
    231242
  • social-contact-form/tags/1.1.6/plugin.php

    r2834159 r2840274  
    44 * plugin URI: https://wppool.dev/social-contact-form-pricing/
    55 * Description: Add a contact form on your website that sends form leads directly to your WhatsApp web or mobile, including WooCommerce orders, cart, etc
    6  * Version: 1.1.5
     6 * Version: 1.1.6
    77 * Author: WPPOOL
    88 * Author URI: https://wppool.dev
  • social-contact-form/tags/1.1.6/readme.txt

    r2834159 r2840274  
    55Tested up to: 6.1
    66Requires PHP: 5.4
    7 Stable tag: 1.1.5
     7Stable tag: 1.1.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    142142
    143143== Changelog ==
     144
     145= 1.1.6 - 27 DEC 2022 =
     146** Improve: Minor bugs and performance
    144147
    145148= 1.1.5 - 15 DEC 2022 =
  • social-contact-form/trunk/includes/Boot.php

    r2817204 r2840274  
    1313
    1414// Require files
    15 if ( file_exists( SCF_INC . '/WPPOOL/Plugin.php' ) ) {
    16     require_once SCF_INC . '/WPPOOL/Plugin.php';
     15if ( file_exists( SCF_INC . '/wppool/src/Plugin.php' ) ) {
     16    require_once SCF_INC . '/wppool/src/Plugin.php';
    1717}
    18 
    19 if ( file_exists( SCF_INC . '/appsero/Client.php' ) && !class_exists('\SocialContactForm\Appsero\Client') ) {
    20     require_once SCF_INC . '/appsero/Client.php';
    21 }
    22 
     18 
    2319// core files
    2420require_once SCF_INC . '/others/Common.php';
  • social-contact-form/trunk/includes/admin/Hooks.php

    r2817204 r2840274  
    1616        {
    1717            register_activation_hook(SCF_FILE, array($this, 'activate_scf'));
     18
     19            # appsero
     20            $this->init_appsero();
     21
     22
    1823            add_action('init', array($this, 'register_scf_settings'));
    1924
     
    2328            // add_action('scf_setting_footer', array($this, 'scf_setting_footer')); 
    2429
    25             # appsero
    26             add_action('init', [$this, 'init_appsero']);
    2730
    2831            add_filter('plugin_action_links_' . plugin_basename(SCF_FILE), array($this, 'plugin_action_links'));
     
    221224        public function init_appsero()
    222225        {
    223             if (class_exists('\SocialContactForm\Appsero\Client')) {
    224                 $this->appsero = new \SocialContactForm\Appsero\Client('9b39bac1-3b27-41d1-aeec-18fbfd4a9977', 'Social Contact Form', SCF_FILE);
    225                 $this->appsero->set_textdomain('social-contact-form');
    226                 // Active insights
     226            if (!class_exists('\Appsero\Client')) {
     227                require_once SCF_INC . '/appsero/src/Client.php';
     228            }
     229
     230            add_filter('appsero_is_local', '__return_false');
     231
     232            $this->appsero = new \Appsero\Client('9b39bac1-3b27-41d1-aeec-18fbfd4a9977', 'Social Contact Form', SCF_FILE);
     233            $this->appsero->set_textdomain('social-contact-form');
    227234           
    228                 $this->appsero->insights()->init();
    229             }
     235            // Active insights     
     236            $this->appsero->insights()->init();
     237           
     238            $scf_plugin = new \WPPOOL\Plugin('social_contact_form');
     239            $scf_plugin->appsero();
     240
    230241        }
    231242
  • social-contact-form/trunk/plugin.php

    r2834159 r2840274  
    44 * plugin URI: https://wppool.dev/social-contact-form-pricing/
    55 * Description: Add a contact form on your website that sends form leads directly to your WhatsApp web or mobile, including WooCommerce orders, cart, etc
    6  * Version: 1.1.5
     6 * Version: 1.1.6
    77 * Author: WPPOOL
    88 * Author URI: https://wppool.dev
  • social-contact-form/trunk/readme.txt

    r2834159 r2840274  
    55Tested up to: 6.1
    66Requires PHP: 5.4
    7 Stable tag: 1.1.5
     7Stable tag: 1.1.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    142142
    143143== Changelog ==
     144
     145= 1.1.6 - 27 DEC 2022 =
     146** Improve: Minor bugs and performance
    144147
    145148= 1.1.5 - 15 DEC 2022 =
Note: See TracChangeset for help on using the changeset viewer.