Plugin Directory

Changeset 1990097


Ignore:
Timestamp:
12/09/2018 06:41:09 PM (7 years ago)
Author:
buntisoft
Message:

JS files loaded on each page

Location:
insta-gallery/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • insta-gallery/trunk/app/wp-front.php

    r1909513 r1990097  
    6363        'jquery'
    6464    ), null, true);
     65   
     66    // WP 5 FIX
     67    wp_enqueue_script('insta-gallery');
     68    wp_enqueue_script('swiper');
     69     wp_enqueue_script('magnific-popup');
    6570}
    6671include_once (INSGALLERY_PATH . 'app/Libra/InstagramSpider.php');
     
    9499    }
    95100   
     101    /*
    96102    wp_enqueue_script('insta-gallery');
    97103   
     
    103109        wp_enqueue_script('magnific-popup');
    104110    }
     111    */
    105112   
    106113    $insta_source = ($IGItem['ig_select_from'] == 'username') ? 'user_' . $IGItem['insta_user'] : 'tag_' . $IGItem['insta_tag'];
    107114   
    108115    $insta_svg = '<svg version="1.1" class="ig-spin" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
    109         viewBox="0 0 551.034 551.034" style="enable-background:new 0 0 551.034 551.034;" xml:space="preserve">
    110             <g>
     116        viewBox="0 0 551.034 551.034" style="enable-background:new 0 0 551.034 551.034;" xml:space="preserve"><g>
    111117                <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="275.517" y1="4.57" x2="275.517" y2="549.72" gradientTransform="matrix(1 0 0 -1 0 554)">
    112                     <stop  offset="0" style="stop-color:#E09B3D"/>
    113                     <stop  offset="0.3" style="stop-color:#C74C4D"/>
    114                     <stop  offset="0.6" style="stop-color:#C21975"/>
    115                     <stop  offset="1" style="stop-color:#7024C4"/>
     118                    <stop  offset="0" style="stop-color:#E09B3D"/><stop  offset="0.3" style="stop-color:#C74C4D"/><stop  offset="0.6" style="stop-color:#C21975"/><stop  offset="1" style="stop-color:#7024C4"/>
    116119                </linearGradient>
    117120                <path style="fill:url(#SVGID_1_);" d="M386.878,0H164.156C73.64,0,0,73.64,0,164.156v222.722
     
    121124                c60.045,0,108.722,48.676,108.722,108.722L495.6,386.878L495.6,386.878z"/>
    122125                <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="275.517" y1="4.57" x2="275.517" y2="549.72" gradientTransform="matrix(1 0 0 -1 0 554)">
    123                     <stop  offset="0" style="stop-color:#E09B3D"/>
    124                     <stop  offset="0.3" style="stop-color:#C74C4D"/>
    125                     <stop  offset="0.6" style="stop-color:#C21975"/>
    126                     <stop  offset="1" style="stop-color:#7024C4"/>
     126                    <stop  offset="0" style="stop-color:#E09B3D"/><stop  offset="0.3" style="stop-color:#C74C4D"/><stop  offset="0.6" style="stop-color:#C21975"/><stop  offset="1" style="stop-color:#7024C4"/>
    127127                </linearGradient>
    128128                <path style="fill:url(#SVGID_2_);" d="M275.517,133C196.933,133,133,196.933,133,275.516s63.933,142.517,142.517,142.517
     
    130130                s38.989-87.083,87.083-87.083c48.095,0,87.083,38.988,87.083,87.083C362.6,323.611,323.611,362.6,275.517,362.6z"/>
    131131                <linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="418.31" y1="4.57" x2="418.31" y2="549.72" gradientTransform="matrix(1 0 0 -1 0 554)">
    132                     <stop  offset="0" style="stop-color:#E09B3D"/>
    133                     <stop  offset="0.3" style="stop-color:#C74C4D"/>
    134                     <stop  offset="0.6" style="stop-color:#C21975"/>
    135                     <stop  offset="1" style="stop-color:#7024C4"/>
     132                    <stop  offset="0" style="stop-color:#E09B3D"/><stop  offset="0.3" style="stop-color:#C74C4D"/><stop  offset="0.6" style="stop-color:#C21975"/><stop  offset="1" style="stop-color:#7024C4"/>
    136133                </linearGradient>
    137134                <circle style="fill:url(#SVGID_3_);" cx="418.31" cy="134.07" r="34.15"/>
    138             </g>
    139         </svg>';
     135            </g></svg>';
    140136   
    141137    $results = '';
  • insta-gallery/trunk/insta-gallery.php

    r1988216 r1990097  
    1010 * Text Domain: insta-gallery
    1111 * Domain Path: /languages/
    12  * Version: 1.6.4
     12 * Version: 1.6.5
    1313 */
    1414
     
    2626
    2727// global constants
    28 define('INSGALLERY_VER', '1.6.4');
     28define('INSGALLERY_VER', '1.6.5');
    2929define('INSGALLERY_PRODUCTION', true);
    3030
  • insta-gallery/trunk/readme.txt

    r1988216 r1990097  
    55Requires PHP: 5.3
    66Tested up to: 5.0
    7 Stable tag: 1.6.4
     7Stable tag: 1.6.5
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7474
    7575== Changelog ==
     76= 1.6.5 =
     77JS files issue with WP5 solved
     78
    7679= 1.6.4 =
    7780speed improvements and small changes
     
    209212
    210213== Upgrade Notice ==
     214= 1.6.5 =
     215JS issue solved
     216
    211217= 1.6.4 =
    212218speed improvements
Note: See TracChangeset for help on using the changeset viewer.