Plugin Directory

Changeset 2441038


Ignore:
Timestamp:
12/16/2020 08:35:59 PM (5 years ago)
Author:
Bluenotes
Message:

2.0.7 update for jquery 3.5+

Location:
bne-testimonials/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bne-testimonials/trunk/bne-testimonials.php

    r2314657 r2441038  
    22/*
    33 * Plugin Name: BNE Testimonials
    4  * Version: 2.0.6
     4 * Version: 2.0.7
    55 * Description: Display testimonials on any page or widget area as list or slider. Upgrade to PRO for additional layouts, themes, API, 5-star ratings and schema markup.
    66 * Author: Kerry Kline
    77 * Author URI: https://www.bnecreative.com
    8  * Requires at least: 4.7
     8 * Requires at least: 5.0
    99 * Text Domain: bne-testimonials
    1010 * License: GPL2
    1111
    12     Copyright (C) 2013-2019 BNE Creative
    13 
    14     This program is free software; you can redistribute it and/or modify
    15     it under the terms of the GNU General Public License version 2,
    16     as published by the Free Software Foundation.
    17 
    18     You may NOT assume that you can use any other version of the GPL.
    19 
    20     This program is distributed in the hope that it will be useful,
    21     but WITHOUT ANY WARRANTY; without even the implied warranty of
    22     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    23     GNU General Public License for more details.
    24 
    25     The license for this software can likely be found here:
    26     http://www.gnu.org/licenses/gpl-2.0.html
     12    Copyright (C) 2013-2020 BNE Creative
     13
     14    This program is free software; you can redistribute it and/or modify
     15    it under the terms of the GNU General Public License version 2,
     16    as published by the Free Software Foundation.
     17
     18    You may NOT assume that you can use any other version of the GPL.
     19
     20    This program is distributed in the hope that it will be useful,
     21    but WITHOUT ANY WARRANTY; without even the implied warranty of
     22    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     23    GNU General Public License for more details.
     24
     25    The license for this software can likely be found here:
     26    http://www.gnu.org/licenses/gpl-2.0.html
    2727
    2828*/
     
    3737
    3838   
    39     /*
    40     *  Constructor
    41     *
    42     *  @since      v2.0
    43     *
    44     */
     39    /*
     40    *  Constructor
     41    *
     42    *  @since      v2.0
     43    *
     44    */
    4545    function __construct() {
    4646       
    4747        // Set Constants
    48         define( 'BNE_TESTIMONIALS_VERSION', '2.0.6' );
     48        define( 'BNE_TESTIMONIALS_VERSION', '2.0.7' );
    4949        define( 'BNE_TESTIMONIALS_DIR', dirname( __FILE__ ) );
    5050        define( 'BNE_TESTIMONIALS_URI', plugins_url( '', __FILE__ ) );
  • bne-testimonials/trunk/includes/lib/cmb2/includes/CMB2_Hookup.php

    r2314657 r2441038  
    11<?php
    22/**
    3  * Handles hooking CMB2 forms/metaboxes into the post/attachement/user screens
     3 *  Handles hooking CMB2 forms/metaboxes into the post/attachement/user screens
    44 * and handles hooking in and saving those fields.
    55 *
  • bne-testimonials/trunk/includes/shortcode-display.php

    r2314657 r2441038  
    3939 * 
    4040 *  @since      v2.0
    41  *  @updated    v2.0.6
     41 *  @updated    v2.0.7
    4242 *
    4343*/
     
    109109    if( $atts['category'] ) {
    110110        $taxonomy_args = array(
    111             array(
    112                 'taxonomy'  =>  'bne-testimonials-taxonomy',
    113                 'field'     =>  'slug',
    114                 'terms'     =>  explode( ',', esc_html( $atts['category'] ) )
    115             )
    116         );
     111            array(
     112                'taxonomy'  =>  'bne-testimonials-taxonomy',
     113                'field'     =>  'slug',
     114                'terms'     =>  explode( ',', esc_html( $atts['category'] ) )
     115            )
     116        );
    117117    }
    118118   
     
    129129       
    130130        // Taxonomy Query
    131         'tax_query'         =>  $taxonomy_args
     131        'tax_query'         =>  $taxonomy_args
    132132    );
    133133   
     
    183183                    wp_add_inline_script( 'flexslider',
    184184                        'jQuery(document).ready(function($){
    185                             $(window).on("load", function() {
    186                                 $("#bne-slider-id-'.$random_id.' .bne-testimonial-slider").flexslider({
    187                                     animation: "'.$atts['animation'].'",
    188                                     animationSpeed: '.$atts['animation_speed'].',
    189                                     smoothHeight: '.$atts['smooth'].',
    190                                     pauseOnHover: '.$atts['pause'].',
    191                                     controlNav: '.$atts['nav'].',
    192                                     directionNav: '.$atts['arrows'].',
    193                                     slideshowSpeed: '.$atts['speed'].'
    194                                 });
     185                            $("#bne-slider-id-'.$random_id.' .bne-testimonial-slider").flexslider({
     186                                animation: "'.$atts['animation'].'",
     187                                animationSpeed: '.$atts['animation_speed'].',
     188                                smoothHeight: '.$atts['smooth'].',
     189                                pauseOnHover: '.$atts['pause'].',
     190                                controlNav: '.$atts['nav'].',
     191                                directionNav: '.$atts['arrows'].',
     192                                slideshowSpeed: '.$atts['speed'].'
    195193                            });
    196194                        });'
  • bne-testimonials/trunk/readme.txt

    r2371325 r2441038  
    44Tags: testimonials, testimonial widget, random testimonials, flexslider, feedback, reviews
    55Requires at least: 5.0
    6 Tested up to: 5.5
    7 Stable tag: 2.0.6
     6Tested up to: 5.6
     7Stable tag: 2.0.7
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    9292== Changelog ==
    9393
     94= 2.0.7 December 16, 2020
     95* Inline JS adjustment for the slider when using jQuery 3.5+
     96
    9497= 2.0.6 May 29, 2020
    9598* Fix: Updated the load function for jQuery v3.x when using the slider layout.
Note: See TracChangeset for help on using the changeset viewer.