Plugin Directory

Changeset 2131252

Timestamp:
07/31/2019 08:17:11 AM (5 years ago)
Author:
sjregan
Message:

fix: 'product-source-lang' attribute for gallery shortcode not read

Location:
instashop/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • instashop/trunk/includes/class-instashop.php

    r2131236 r2131252  
    247247            $product_source_language = apply_filters( 'instashop_gallery_product_source_lang', null, $attr['gallery'], $data['product-id'] );
    248248
    249             if ( $data['product-source-lang'] ) {
    250                 $product_source_language = $data['product-source-lang'];
     249            if ( $['product-source-lang'] ) {
     250                $product_source_language = $['product-source-lang'];
    251251            }
    252252
  • instashop/trunk/instashop.php

    r2131236 r2131252  
    22/*
    33 * Plugin Name: InstaShop
    4  * Version: 1.4.0
     4 * Version: 1.4.
    55 * Plugin URI: https://instashopapp.com/wordpress/
    66 * Description: Easily embed and manage your InstaShop galleries.
     
    3535 */
    3636function InstaShop () {
    37     $instance = InstaShop::instance( __FILE__, '1.4.0' );
     37    $instance = InstaShop::instance( __FILE__, '1.4.' );
    3838
    3939    if ( is_null( $instance->settings ) ) {
  • instashop/trunk/package.json

    r2131236 r2131252  
    22    "name": "instashop",
    33    "title": "InstaShop",
    4     "version": "1.4.0",
     4    "version": "1.4.",
    55    "homepage": "https://instashopapp.com/",
    66    "main": "Gruntfile.js",
  • instashop/trunk/readme.txt

    r2131236 r2131252  
    9292== Changelog ==
    9393
     94
     95
     96
    9497= 1.4.0 =
    9598* Feature: 'instashop_gallery_product_source_lang' filter to force product galleries to use original source product IDs
Note: See TracChangeset for help on using the changeset viewer.