Plugin Directory

Changeset 2120599

Timestamp:
07/10/2019 09:51:54 AM (5 years ago)
Author:
sjregan
Message:

feat: galleries created with shortcode on a product page will display product gallery

Location:
instashop/trunk
Files:
3 edited

Legend:

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

    r1922297 r2120599  
    33
    44class InstaShop {
    5     const JS_GALLERY_URL = 'https://s3.amazonaws.com/instashop/js/embed-1.5.5.js';
    6     const JS_GALLERY_VERSION = '1.5.5';
     5    const JS_GALLERY_URL = 'https://s3.amazonaws.com/instashop/js/.js';
     6    const JS_GALLERY_VERSION = '1.';
    77
    88    /**
     
    200200     */
    201201    public function gallery_shortcode ( $attr ) {
     202
     203
    202204        $domain = wp_parse_url( get_home_url(), PHP_URL_HOST);
    203205
     
    234236        if ( $attr['pin-type'] !== false ) $data['pin-type'] = $attr['pin-type'];
    235237
     238
     239
     240
     241
     242
     243
     244
     245
    236246        $source = apply_filters( 'instashop_gallery_source', '' );
    237247       
     
    409419     * Log the plugin version number.
    410420     *
    411      * @access  public
     421     * @access  p
    412422     * @since   1.0.0
    413423     */
     
    415425        update_option( $this->_token . '_version', $this->_version );
    416426    }
     427
     428
     429
     430
     431
     432
     433
     434
     435
     436
     437
     438
     439
     440
     441
     442
     443
     444
     445
     446
    417447}
  • instashop/trunk/instashop.php

    r2099770 r2120599  
    22/*
    33 * Plugin Name: InstaShop
    4  * Version: 1.2.0
     4 * Version: 1..0
    55 * Plugin URI: https://instashopapp.com/wordpress/
    66 * Description: Easily embed and manage your InstaShop galleries.
     
    88 * Author URI: https://wearezipline.com/
    99 * Requires at least: 4.0
    10  * Tested up to: 5.2.1
     10 * Tested up to: 5.2.
    1111 *
    1212 * Text Domain: instashop
  • instashop/trunk/readme.txt

    r2100234 r2120599  
    33Tags: instashop, instagram, gallery, shopping, woocommerce, social media, embed instagram, hashtag, product gallery
    44Requires at least: 4.0
    5 Tested up to: 5.2.1
     5Tested up to: 5.2.
    66Requires PHP: 5.2.4
    77Stable tag: trunk
     
    9292== Changelog ==
    9393
     94
     95
     96
    9497= 1.2.0 =
    9598* Adds ability to auto-embed product galleries in WooCommerce
Note: See TracChangeset for help on using the changeset viewer.