Plugin Directory

Changeset 2087448


Ignore:
Timestamp:
05/14/2019 08:50:31 AM (7 years ago)
Author:
dashlyapp
Message:

1.1.2 | Replaced leftover direct access to variables with getters

Location:
dashly
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • dashly/trunk/includes/hooks.php

    r2044530 r2087448  
    1515        if (isset($_COOKIE["dashly_uid"])) {
    1616            $dashlyUID = $_COOKIE["dashly_uid"];
    17             if ($product && $product->id) {
     17            if ($product && $product->get_id()) {
    1818                /*
    1919                Getting product info:
     
    2323                    - Product price
    2424                */
    25                 $_product = wc_get_product($product->id);
     25                $_product = wc_get_product($product->get_id());
    2626                $image_id = $_product->get_image_id();
    2727                if ($image_id) {
     
    334334                    $image = wp_get_attachment_image_src($image_id, 'full');
    335335                }
    336                 $price = $value['data']->price;
     336                $price = $value['data']->get_price();
    337337                $url = $_product->get_permalink();
    338338                $name = $_product->get_title();
  • dashly/trunk/readme.txt

    r2044530 r2087448  
    33Tags: dashly, woocommerce, customer tracking, abandoned carts, lead collection, forms, live chat
    44Requires at least: 4.2.0
    5 Tested up to: 5.1.0
    6 Stable tag: 1.1.1
     5Tested up to: 5.2.0
     6Stable tag: 1.1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 [Dashly](https://www.dashly.app/?utm_source=woocommerce) combines all instruments for marketing automation, sales and communications. Supports WooCommerce 3.x.
     10[Dashly](https://www.dashly.app/?utm_source=woocommerce) combines all instruments for marketing automation, sales and communications. Supports WooCommerce 3.x (tested up to 3.6.2).
    1111
    1212== Description ==
     
    137137
    138138* Set headers to requests (so that Dashly don't think this plugin is a bot)
     139
     140= 1.1.2 =
     141* Minor bug-fixes
Note: See TracChangeset for help on using the changeset viewer.