Plugin Directory

Changeset 3332464


Ignore:
Timestamp:
07/22/2025 06:31:04 PM (9 months ago)
Author:
artplacer
Message:

Support for price on AR button

Location:
artplacer-widget/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • artplacer-widget/trunk/artplacer-widget.php

    r3248739 r3332464  
    44Plugin URI: https://wordpress.org/plugins/artplacer-widget/
    55Description: Display the ArtPlacer widget into your products or posts.
    6 Version: 2.22.7
     6Version: 2.22.8
    77Author: ArtPlacer
    88Author URI: http://www.artplacer.com
  • artplacer-widget/trunk/includes/functions.php

    r3247447 r3332464  
    9999        $script = addUpdateParameter('title', $title, $script, true);
    100100
    101         if (strpos($script, 'type="1"') != false) {
     101        if (strpos($script, 'type="1"') != false || strpos($script, 'type="3"') != false) {
    102102            $script = removeParameter('space', $script);
    103103
     
    110110
    111111            //Add Update Size
    112             if (!empty($height)) {
     112            if (strpos($script, 'type="1"') != false && !empty($height)) {
    113113                $get_dimensions_standard = strtolower(get_value_between('dimensions_standard="', '"', $script));
    114114                if ($get_dimensions_standard == "wxh" || (!is_null($widget) && $widget->dimensions == 1))
  • artplacer-widget/trunk/readme.txt

    r3248739 r3332464  
    126126= 2.22.7 =
    127127* Bug fixes.
     128= 2.22.8 =
     129* Adds support for price for AR button.
Note: See TracChangeset for help on using the changeset viewer.