Plugin Directory

Changeset 2310000


Ignore:
Timestamp:
05/22/2020 07:33:01 AM (6 years ago)
Author:
xevibrainity
Message:

Imported changes from Git repository

Location:
brainity-boost-ads/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • brainity-boost-ads/trunk/brainity.php

    r2309734 r2310000  
    99Author: Brainity
    1010Author URI: https://www.brainity.co
    11 Version: 1.0.7
     11Version: 1.0.8
    1212*/
    1313
  • brainity-boost-ads/trunk/pixel/FacebookWordpressPixelInjection.php

    r2309723 r2310000  
    9090        }
    9191        $product = wc_get_product( $post->ID );
    92         if ( ! $product instanceof \WC_Product ) {
     92        $content_type = 'product_group';
     93        if ( ! $product ) {
    9394            return;
    9495        }
     
    102103
    103104        $content_ids = self::get_fb_content_ids($product);
    104         if($this->isviewcontentRender == wp_json_encode($content_ids)) {
    105             return;
    106         }
    107105        $this->isviewcontentRender = wp_json_encode($content_ids);
    108         $this->pixel->inject_event( 'ViewContent', [
     106        FacebookPixel::inject_event( 'ViewContent', [
    109107            'content_name' => $product->get_title(),
    110108            'content_ids'  => $this->isviewcontentRender,
  • brainity-boost-ads/trunk/readme.txt

    r2309734 r2310000  
    44Requires at least: 5.2.1
    55Tested up to: 5.2.1
    6 Stable tag: 1.0.7
     6Stable tag: 1.0.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    6565== Changelog ==
    6666
    67 = Brainity 1.0.7 =
     67= Brainity 1.0.8 =
    6868
    6969* Fix bug with virtual products.
Note: See TracChangeset for help on using the changeset viewer.