Plugin Directory

Changeset 2796316


Ignore:
Timestamp:
10/10/2022 04:10:26 AM (2 years ago)
Author:
fathomconversions
Message:

Update to version 1.0.9 from GitHub

Location:
fathom-analytics-conversions
Files:
2 added
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fathom-analytics-conversions/tags/1.0.9/README.txt

    r2794813 r2796316  
    44Tags: analytics, events, conversions, fathom
    55Requires at least: 5.9
    6 Tested up to: 6.0
    7 Stable tag: 1.0.8
     6Tested up to: 6.2
     7Stable tag: 1.0.9
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    6767*   [Ninja Forms](https://wordpress.org/plugins/ninja-forms/) & [Ninja Forms Pro](https://ninjaforms.com/)
    6868*   [Fluent Forms](https://wordpress.org/plugins/fluentform/) & [Fluent Forms Pro](https://fluentforms.com/)
     69*   [WooCommmerce](https://woocommerce.com/)
    6970
    7071== Installation ==
     
    142143== Changelog ==
    143144
     145= 1.0.9 =
     146* WooCommerce support, adding order total to the event
     147
    144148= 1.0.8 =
    145149* Allowing custom fathom code option, and removal of reliance on official Fathom Plugin
  • fathom-analytics-conversions/tags/1.0.9/admin/class-fathom-analytics-conversions-admin.php

    r2794813 r2796316  
    44 *
    55 * @link       https://www.fathomconversions.com
    6  * @since      1.0
     6 * @since      1.0.9
    77 *
    88 * @package    Fathom_Analytics_Conversions
     
    132132                echo '<input type="text" id="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" name="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" value="' . esc_attr( $_api_key ) . '" ' . esc_html( $_input_readonly ) . ' class="regular-text" />';
    133133                $result = fac_api_key();
    134                 //echo '<pre>';print_r($fac4wp_options);echo '</pre>';
     134                //echo '<pre>';print_r( $fac4wp_options );echo '</pre>';
    135135                if ( isset( $result['code'] ) && $result['code'] === 200 ) {
    136136                    $body = isset( $result['body'] ) ? json_decode( $result['body'], true ) : array();
     
    389389                'plugin_to_check' => 'ninja-forms/ninja-forms.php',
    390390            ),
     391            FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE  => array(
     392                'label'           => __( 'Woocommerce', 'fathom-analytics-conversions' ),
     393                'description'     => __( 'Check this to add conversation a successful order.', 'fathom-analytics-conversions' ),
     394                'phase'           => FAC4WP_PHASE_STABLE,
     395                'plugin_to_check' => 'woocommerce/woocommerce.php',
     396            ),
    391397        );
    392398        global $fac4wp_integrate_field_texts;
  • fathom-analytics-conversions/tags/1.0.9/fathom-analytics-conversions.php

    r2794813 r2796316  
    1717 * Plugin URI:        https://www.fathomconversions.com
    1818 * Description:       Easily add event conversions in WordPress plugins to Fathom Analytics
    19  * Version:           1.0.8
     19 * Version:           1.0.9
    2020 * Author:            SixFive Pty Ltd
    2121 * Author URI:        https://www.sixfive.com.au
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0.8' );
     38define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0.9' );
    3939define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) );
    4040
  • fathom-analytics-conversions/tags/1.0.9/includes/class-fathom-analytics-conversions.php

    r2794813 r2796316  
    8787        define( 'FAC4WP_OPTION_INTEGRATE_FLUENTFORMS', 'integrate-fluentforms' );
    8888        define( 'FAC4WP_OPTION_INTEGRATE_NINJAFORMS', 'integrate-ninjaforms' );
     89        define( 'FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE', 'integrate-woocommerce' );
    8990
    9091        $this->load_dependencies();
     
    165166         */
    166167        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-ninja-forms.php';
     168
     169        /**
     170         * The class responsible for defining all actions that occur in the woocommerce-specific functionality
     171         * side of the site.
     172         */
     173        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-woocommerce.php';
    167174
    168175        /**
     
    214221        new Fathom_Analytics_Conversions_Fluent_Form( $this->get_plugin_name(), $this->get_version() );
    215222        new Fathom_Analytics_Conversions_Ninja_Forms( $this->get_plugin_name(), $this->get_version() );
     223        new Fathom_Analytics_Conversions_Woocommerce( $this->get_plugin_name(), $this->get_version() );
    216224
    217225        $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
  • fathom-analytics-conversions/tags/1.0.9/includes/fac-core-functions.php

    r2794813 r2796316  
    66 *
    77 * @package Fathom_Analytics_Conversions\Functions
    8  * @version 1.0
     8 * @version 1.0.9
    99 */
    1010
     
    2323    FAC4WP_OPTION_INTEGRATE_FLUENTFORMS  => false,
    2424    FAC4WP_OPTION_INTEGRATE_NINJAFORMS   => false,
     25    FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE  => false,
    2526);
    2627
  • fathom-analytics-conversions/tags/1.0.9/uninstall.php

    r2731575 r2796316  
    2020 *
    2121 * @link              https://www.fathomconversions.com
    22  * @since      1.0
     22 * @since      1.0.9
    2323 *
    2424 * @package    Fathom_Analytics_Conversions
     
    3333
    3434delete_option( 'fac4wp-options' );
     35delete_option( 'fac_options' );
    3536
    3637$results = $wpdb->query(
  • fathom-analytics-conversions/trunk/README.txt

    r2794813 r2796316  
    44Tags: analytics, events, conversions, fathom
    55Requires at least: 5.9
    6 Tested up to: 6.0
    7 Stable tag: 1.0.8
     6Tested up to: 6.2
     7Stable tag: 1.0.9
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    6767*   [Ninja Forms](https://wordpress.org/plugins/ninja-forms/) & [Ninja Forms Pro](https://ninjaforms.com/)
    6868*   [Fluent Forms](https://wordpress.org/plugins/fluentform/) & [Fluent Forms Pro](https://fluentforms.com/)
     69*   [WooCommmerce](https://woocommerce.com/)
    6970
    7071== Installation ==
     
    142143== Changelog ==
    143144
     145= 1.0.9 =
     146* WooCommerce support, adding order total to the event
     147
    144148= 1.0.8 =
    145149* Allowing custom fathom code option, and removal of reliance on official Fathom Plugin
  • fathom-analytics-conversions/trunk/admin/class-fathom-analytics-conversions-admin.php

    r2794813 r2796316  
    44 *
    55 * @link       https://www.fathomconversions.com
    6  * @since      1.0
     6 * @since      1.0.9
    77 *
    88 * @package    Fathom_Analytics_Conversions
     
    132132                echo '<input type="text" id="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" name="' . esc_attr( FAC4WP_OPTIONS . '[' . FAC4WP_OPTION_API_KEY_CODE . ']' ) . '" value="' . esc_attr( $_api_key ) . '" ' . esc_html( $_input_readonly ) . ' class="regular-text" />';
    133133                $result = fac_api_key();
    134                 //echo '<pre>';print_r($fac4wp_options);echo '</pre>';
     134                //echo '<pre>';print_r( $fac4wp_options );echo '</pre>';
    135135                if ( isset( $result['code'] ) && $result['code'] === 200 ) {
    136136                    $body = isset( $result['body'] ) ? json_decode( $result['body'], true ) : array();
     
    389389                'plugin_to_check' => 'ninja-forms/ninja-forms.php',
    390390            ),
     391            FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE  => array(
     392                'label'           => __( 'Woocommerce', 'fathom-analytics-conversions' ),
     393                'description'     => __( 'Check this to add conversation a successful order.', 'fathom-analytics-conversions' ),
     394                'phase'           => FAC4WP_PHASE_STABLE,
     395                'plugin_to_check' => 'woocommerce/woocommerce.php',
     396            ),
    391397        );
    392398        global $fac4wp_integrate_field_texts;
  • fathom-analytics-conversions/trunk/fathom-analytics-conversions.php

    r2794813 r2796316  
    1717 * Plugin URI:        https://www.fathomconversions.com
    1818 * Description:       Easily add event conversions in WordPress plugins to Fathom Analytics
    19  * Version:           1.0.8
     19 * Version:           1.0.9
    2020 * Author:            SixFive Pty Ltd
    2121 * Author URI:        https://www.sixfive.com.au
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0.8' );
     38define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.0.9' );
    3939define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) );
    4040
  • fathom-analytics-conversions/trunk/includes/class-fathom-analytics-conversions.php

    r2794813 r2796316  
    8787        define( 'FAC4WP_OPTION_INTEGRATE_FLUENTFORMS', 'integrate-fluentforms' );
    8888        define( 'FAC4WP_OPTION_INTEGRATE_NINJAFORMS', 'integrate-ninjaforms' );
     89        define( 'FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE', 'integrate-woocommerce' );
    8990
    9091        $this->load_dependencies();
     
    165166         */
    166167        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-ninja-forms.php';
     168
     169        /**
     170         * The class responsible for defining all actions that occur in the woocommerce-specific functionality
     171         * side of the site.
     172         */
     173        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-fathom-analytics-conversions-woocommerce.php';
    167174
    168175        /**
     
    214221        new Fathom_Analytics_Conversions_Fluent_Form( $this->get_plugin_name(), $this->get_version() );
    215222        new Fathom_Analytics_Conversions_Ninja_Forms( $this->get_plugin_name(), $this->get_version() );
     223        new Fathom_Analytics_Conversions_Woocommerce( $this->get_plugin_name(), $this->get_version() );
    216224
    217225        $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
  • fathom-analytics-conversions/trunk/includes/fac-core-functions.php

    r2794813 r2796316  
    66 *
    77 * @package Fathom_Analytics_Conversions\Functions
    8  * @version 1.0
     8 * @version 1.0.9
    99 */
    1010
     
    2323    FAC4WP_OPTION_INTEGRATE_FLUENTFORMS  => false,
    2424    FAC4WP_OPTION_INTEGRATE_NINJAFORMS   => false,
     25    FAC4WP_OPTION_INTEGRATE_WOOCOMMERCE  => false,
    2526);
    2627
  • fathom-analytics-conversions/trunk/uninstall.php

    r2731575 r2796316  
    2020 *
    2121 * @link              https://www.fathomconversions.com
    22  * @since      1.0
     22 * @since      1.0.9
    2323 *
    2424 * @package    Fathom_Analytics_Conversions
     
    3333
    3434delete_option( 'fac4wp-options' );
     35delete_option( 'fac_options' );
    3536
    3637$results = $wpdb->query(
Note: See TracChangeset for help on using the changeset viewer.