Plugin Directory

Changeset 2368453


Ignore:
Timestamp:
08/25/2020 08:26:08 AM (6 years ago)
Author:
creativehassan
Message:

Plugin update fatal error removed

Location:
snap-pixel/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • snap-pixel/trunk/includes/function.php

    r2362528 r2368453  
    110110            $producted_id = "";
    111111            $product_id = $post->ID;
    112             $_product = wc_get_product($product_id);
    113             if( $post && $_product && is_product() ){
    114                 $producted_id = $_product->get_id();
    115             }
     112            if(function_exists('wc_get_product')){
     113                $_product = wc_get_product($product_id);
     114                if( $post && $_product && is_product() ){
     115                    $producted_id = $_product->get_id();
     116                }
     117            }
     118           
    116119            ?>
    117120            <script type='text/javascript'>
  • snap-pixel/trunk/readme.txt

    r2362527 r2368453  
    11=== Snap Pixel ===
    22Contributors: creativehassan,mustaneerabdullah93,muzammilahsan
    3 Author URI: https://www.addonsvalley.com/
    4 Plugin URI: https://www.addonsvalley.com/
     3Author URI: https://creativehassan.com
     4Plugin URI: https://wordpress.org/plugins/snap-pixel
    55Donate link: https://paypal.me/coresol
    66Tags: snapchat, snap pixel, snapchat pixel
     
    88Tested up to: 5.5
    99Requires PHP: 5.6
    10 Stable tag: 1.5.3
     10Stable tag: 1.5.4
    1111License: GPLv2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090= 1.5.3 =
    9191* Product ID is added in PAGE_VIEW and improved the product details for pixel
     92= 1.5.4 =
     93* Fatal Error removed for undefined function
  • snap-pixel/trunk/snapchat-pixel.php

    r2362527 r2368453  
    44 * Plugin URI:  https://wordpress.org/plugins/snap-pixel
    55 * Description: Snapchat (Snap Pixel) to measure the cross-device impact of campaigns. It is best suited for your direct response goals, such as driving leads, Subscriptions, or product sales.
    6  * Version:     1.5.3
     6 * Version:     1.5.4
    77 * Author:      Hassan Ali
    8  * Author URI:  https://hassanali.pro
     8 * Author URI:  https://creativehassan.com
    99 * License:     GPL-2.0+
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Note: See TracChangeset for help on using the changeset viewer.