Plugin Directory

Changeset 3334572


Ignore:
Timestamp:
07/26/2025 02:21:23 PM (8 months ago)
Author:
fathomconversions
Message:

Update to version 1.1.3.4 from GitHub

Location:
fathom-analytics-conversions
Files:
8 edited
1 copied

Legend:

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

    r3233319 r3334572  
    44Tags: analytics, events, conversions, fathom
    55Requires at least: 5.9
    6 Tested up to: 6.7.1
    7 Stable tag: 1.1.3.2
     6Tested up to: 6.8.1
     7Stable tag: 1.1.3.4
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    143143== Changelog ==
    144144
     145= 1.1.3.4 =
     146* Fixed JS error.
     147
     148= 1.1.3.3 =
     149* Fixed PHP Notice: Deprecated function.
     150
    145151= 1.1.3.2 =
    146152* Fixed PHP Notice: _load_textdomain_just_in_time running too soon.
  • fathom-analytics-conversions/tags/1.1.3.4/admin/class-fac-classes-ids.php

    r3210911 r3334572  
    283283                    $a_classes = explode( ',', $classes );
    284284                    foreach ( $a_classes as $class ) {
    285                         $track_event[] = [
    286                             trim( $class ),
    287                             $name,
    288                             $value,
    289                         ];
     285                        if ( ! empty( $class ) ) {
     286                            $track_event[] = [
     287                                trim( $class ),
     288                                $name,
     289                                $value,
     290                            ];
     291                        }
    290292                    }
    291293                }
     
    295297                    $fac_content .= 'window.addEventListener("load", (event) => {' . "\n\t";
    296298                    foreach ( $track_event as $k => $event ) {
     299                        if( empty( $event ) ) {
     300                            continue;
     301                        }
    297302                        if ( strpos( $event[0], '#' ) === 0 ) {
    298303                            $id          = substr( $event[0], 1 );
  • fathom-analytics-conversions/tags/1.1.3.4/admin/class-fathom-analytics-conversions-url.php

    r3210185 r3334572  
    44 *
    55 * @link       https://www.fathomconversions.com
    6  * @since      1.2
     6 * @since      1.1.3.3
    77 *
    88 * @package    Fathom_Analytics_Conversions
     
    160160        }
    161161
    162         $link_to_fathom_event_value = filter_input( INPUT_POST, 'link_to_fathom_event', FILTER_SANITIZE_STRING );
    163         $link_to_fathom_event_name  = filter_input( INPUT_POST, 'link_to_fathom_event_name', FILTER_SANITIZE_STRING );
     162        $link_to_fathom_event_value = filter_input( INPUT_POST, 'link_to_fathom_event', FILTER_SANITIZE_SPECIAL_CHARS );
     163        $link_to_fathom_event_name  = filter_input( INPUT_POST, 'link_to_fathom_event_name', FILTER_SANITIZE_SPECIAL_CHARS );
    164164
    165165        if ( $link_to_fathom_event_value ) {
  • fathom-analytics-conversions/tags/1.1.3.4/fathom-analytics-conversions.php

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

    r3233319 r3334572  
    44Tags: analytics, events, conversions, fathom
    55Requires at least: 5.9
    6 Tested up to: 6.7.1
    7 Stable tag: 1.1.3.2
     6Tested up to: 6.8.1
     7Stable tag: 1.1.3.4
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    143143== Changelog ==
    144144
     145= 1.1.3.4 =
     146* Fixed JS error.
     147
     148= 1.1.3.3 =
     149* Fixed PHP Notice: Deprecated function.
     150
    145151= 1.1.3.2 =
    146152* Fixed PHP Notice: _load_textdomain_just_in_time running too soon.
  • fathom-analytics-conversions/trunk/admin/class-fac-classes-ids.php

    r3210911 r3334572  
    283283                    $a_classes = explode( ',', $classes );
    284284                    foreach ( $a_classes as $class ) {
    285                         $track_event[] = [
    286                             trim( $class ),
    287                             $name,
    288                             $value,
    289                         ];
     285                        if ( ! empty( $class ) ) {
     286                            $track_event[] = [
     287                                trim( $class ),
     288                                $name,
     289                                $value,
     290                            ];
     291                        }
    290292                    }
    291293                }
     
    295297                    $fac_content .= 'window.addEventListener("load", (event) => {' . "\n\t";
    296298                    foreach ( $track_event as $k => $event ) {
     299                        if( empty( $event ) ) {
     300                            continue;
     301                        }
    297302                        if ( strpos( $event[0], '#' ) === 0 ) {
    298303                            $id          = substr( $event[0], 1 );
  • fathom-analytics-conversions/trunk/admin/class-fathom-analytics-conversions-url.php

    r3210185 r3334572  
    44 *
    55 * @link       https://www.fathomconversions.com
    6  * @since      1.2
     6 * @since      1.1.3.3
    77 *
    88 * @package    Fathom_Analytics_Conversions
     
    160160        }
    161161
    162         $link_to_fathom_event_value = filter_input( INPUT_POST, 'link_to_fathom_event', FILTER_SANITIZE_STRING );
    163         $link_to_fathom_event_name  = filter_input( INPUT_POST, 'link_to_fathom_event_name', FILTER_SANITIZE_STRING );
     162        $link_to_fathom_event_value = filter_input( INPUT_POST, 'link_to_fathom_event', FILTER_SANITIZE_SPECIAL_CHARS );
     163        $link_to_fathom_event_name  = filter_input( INPUT_POST, 'link_to_fathom_event_name', FILTER_SANITIZE_SPECIAL_CHARS );
    164164
    165165        if ( $link_to_fathom_event_value ) {
  • fathom-analytics-conversions/trunk/fathom-analytics-conversions.php

    r3233319 r3334572  
    1717 * Plugin URI:        https://www.fathomconversions.com
    1818 * Description:       Easily add event conversions in WordPress plugins to Fathom Analytics
    19  * Version:           1.1.3.2
     19 * Version:           1.1.3.4
    2020 * Author:            SixFive Pty Ltd
    2121 * Author URI:        https://www.sixfive.io
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.1.3.2' );
     38define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.1.3.4' );
    3939define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) );
    4040
Note: See TracChangeset for help on using the changeset viewer.