Changeset 3334572
- Timestamp:
- 07/26/2025 02:21:23 PM (8 months ago)
- Location:
- fathom-analytics-conversions
- Files:
-
- 8 edited
- 1 copied
-
tags/1.1.3.4 (copied) (copied from fathom-analytics-conversions/trunk)
-
tags/1.1.3.4/README.txt (modified) (2 diffs)
-
tags/1.1.3.4/admin/class-fac-classes-ids.php (modified) (2 diffs)
-
tags/1.1.3.4/admin/class-fathom-analytics-conversions-url.php (modified) (2 diffs)
-
tags/1.1.3.4/fathom-analytics-conversions.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-fac-classes-ids.php (modified) (2 diffs)
-
trunk/admin/class-fathom-analytics-conversions-url.php (modified) (2 diffs)
-
trunk/fathom-analytics-conversions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fathom-analytics-conversions/tags/1.1.3.4/README.txt
r3233319 r3334572 4 4 Tags: analytics, events, conversions, fathom 5 5 Requires at least: 5.9 6 Tested up to: 6. 7.17 Stable tag: 1.1.3. 26 Tested up to: 6.8.1 7 Stable tag: 1.1.3.4 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 143 143 == Changelog == 144 144 145 = 1.1.3.4 = 146 * Fixed JS error. 147 148 = 1.1.3.3 = 149 * Fixed PHP Notice: Deprecated function. 150 145 151 = 1.1.3.2 = 146 152 * 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 283 283 $a_classes = explode( ',', $classes ); 284 284 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 } 290 292 } 291 293 } … … 295 297 $fac_content .= 'window.addEventListener("load", (event) => {' . "\n\t"; 296 298 foreach ( $track_event as $k => $event ) { 299 if( empty( $event ) ) { 300 continue; 301 } 297 302 if ( strpos( $event[0], '#' ) === 0 ) { 298 303 $id = substr( $event[0], 1 ); -
fathom-analytics-conversions/tags/1.1.3.4/admin/class-fathom-analytics-conversions-url.php
r3210185 r3334572 4 4 * 5 5 * @link https://www.fathomconversions.com 6 * @since 1. 26 * @since 1.1.3.3 7 7 * 8 8 * @package Fathom_Analytics_Conversions … … 160 160 } 161 161 162 $link_to_fathom_event_value = filter_input( INPUT_POST, 'link_to_fathom_event', FILTER_SANITIZE_S TRING);163 $link_to_fathom_event_name = filter_input( INPUT_POST, 'link_to_fathom_event_name', FILTER_SANITIZE_S TRING);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 ); 164 164 165 165 if ( $link_to_fathom_event_value ) { -
fathom-analytics-conversions/tags/1.1.3.4/fathom-analytics-conversions.php
r3233319 r3334572 17 17 * Plugin URI: https://www.fathomconversions.com 18 18 * Description: Easily add event conversions in WordPress plugins to Fathom Analytics 19 * Version: 1.1.3. 219 * Version: 1.1.3.4 20 20 * Author: SixFive Pty Ltd 21 21 * Author URI: https://www.sixfive.io … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.1.3. 2' );38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.1.3.4' ); 39 39 define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) ); 40 40 -
fathom-analytics-conversions/trunk/README.txt
r3233319 r3334572 4 4 Tags: analytics, events, conversions, fathom 5 5 Requires at least: 5.9 6 Tested up to: 6. 7.17 Stable tag: 1.1.3. 26 Tested up to: 6.8.1 7 Stable tag: 1.1.3.4 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 143 143 == Changelog == 144 144 145 = 1.1.3.4 = 146 * Fixed JS error. 147 148 = 1.1.3.3 = 149 * Fixed PHP Notice: Deprecated function. 150 145 151 = 1.1.3.2 = 146 152 * Fixed PHP Notice: _load_textdomain_just_in_time running too soon. -
fathom-analytics-conversions/trunk/admin/class-fac-classes-ids.php
r3210911 r3334572 283 283 $a_classes = explode( ',', $classes ); 284 284 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 } 290 292 } 291 293 } … … 295 297 $fac_content .= 'window.addEventListener("load", (event) => {' . "\n\t"; 296 298 foreach ( $track_event as $k => $event ) { 299 if( empty( $event ) ) { 300 continue; 301 } 297 302 if ( strpos( $event[0], '#' ) === 0 ) { 298 303 $id = substr( $event[0], 1 ); -
fathom-analytics-conversions/trunk/admin/class-fathom-analytics-conversions-url.php
r3210185 r3334572 4 4 * 5 5 * @link https://www.fathomconversions.com 6 * @since 1. 26 * @since 1.1.3.3 7 7 * 8 8 * @package Fathom_Analytics_Conversions … … 160 160 } 161 161 162 $link_to_fathom_event_value = filter_input( INPUT_POST, 'link_to_fathom_event', FILTER_SANITIZE_S TRING);163 $link_to_fathom_event_name = filter_input( INPUT_POST, 'link_to_fathom_event_name', FILTER_SANITIZE_S TRING);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 ); 164 164 165 165 if ( $link_to_fathom_event_value ) { -
fathom-analytics-conversions/trunk/fathom-analytics-conversions.php
r3233319 r3334572 17 17 * Plugin URI: https://www.fathomconversions.com 18 18 * Description: Easily add event conversions in WordPress plugins to Fathom Analytics 19 * Version: 1.1.3. 219 * Version: 1.1.3.4 20 20 * Author: SixFive Pty Ltd 21 21 * Author URI: https://www.sixfive.io … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.1.3. 2' );38 define( 'FATHOM_ANALYTICS_CONVERSIONS_VERSION', '1.1.3.4' ); 39 39 define( 'FAC4WP_PATH', plugin_dir_path( __FILE__ ) ); 40 40
Note: See TracChangeset
for help on using the changeset viewer.