Plugin Directory

Changeset 3092406

Timestamp:
05/25/2024 08:07:31 AM (2 months ago)
Author:
azizultex
Message:

Update to version 2.5.1 from GitHub

Location:
easy-video-reviews
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easy-video-reviews/tags/2.5.1/easy-video-reviews.php

    r3090960 r3092406  
    55 * Plugin URI:        http://wppool.dev/easy-video-reviews.
    66 * Description:       Easy Video Reviews is the best and easiest video review plugin for WordPress fully compatible with WooCommerce and Easy Digital Downloads plugins. Your customers can record and send video testimonials right from their browser and you can manage and showcase anywhere in your WordPress website.
    7  * Version:           2.5.0
     7 * Version:           2.5.
    88 * Requires at least: 5.0
    99 * Requires PHP:      5.6
     
    3838 * Easy Video Review Version
    3939 */
    40 define('EASY_VIDEO_REVIEWS_VERSION', '2.5.0');
     40define('EASY_VIDEO_REVIEWS_VERSION', '2.5.');
    4141
    4242/**
  • easy-video-reviews/tags/2.5.1/readme.txt

    r3090960 r3092406  
    55Tested up to: 6.5
    66Requires PHP: 5.6
    7 Stable tag: 2.5.0
     7Stable tag: 2.5.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html.
     
    160160
    161161== Changelog ==
     162
     163
     164
    162165
    163166= 2.5.0 – 22 May 2024 =
  • easy-video-reviews/tags/2.5.1/templates/frontend/floating-widget.php

    r3090960 r3092406  
    99// Exit if accessed directly.
    1010defined( 'ABSPATH' ) || exit( 1 );
     11
     12
     13
     14
     15
     16
     17
     18
    1119$review_settings = $this->option()->get('review_option');
    1220$this->set_review_state($review_settings);
    13 $floating_widget_settings = $this->option()->get('floating_widgets_settings');
    14 $floating_widget_enable = $this->option()->get('enable_floating_widget_review');
    1521$current_page_id = (string) get_the_ID();
    1622
     
    2430    $clas_name = 'invisible opacity-[0]';
    2531}
    26 
    27 if ( in_array('desktop', $floating_widget_settings['widget_show_on']) && in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
    28     $resposive_class = 'sm:block';
    29 } elseif ( in_array('desktop', $floating_widget_settings['widget_show_on']) ) {
    30     $resposive_class = 'hidden sm:block';
    31 } elseif ( in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
    32     $resposive_class = 'sm:hidden';
     32if ( is_array($floating_widget_settings['widget_show_on']) ) {
     33    if ( in_array('desktop', $floating_widget_settings['widget_show_on']) && in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
     34        $resposive_class = 'sm:block';
     35    } elseif ( in_array('desktop', $floating_widget_settings['widget_show_on']) ) {
     36        $resposive_class = 'hidden sm:block';
     37    } elseif ( in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
     38        $resposive_class = 'sm:hidden';
     39    } else {
     40        $resposive_class = 'sm:block';
     41    }
    3342} else {
    3443    $resposive_class = 'sm:block';
     
    5867?>
    5968<!-- recorder modal -->
    60 <?php if ( ! in_array($current_page_id, $floating_widget_settings['exclude_widgets_pages']) && '1' === $floating_widget_enable ) : ?>
     69<?php if ( ! in_array($current_page_id, $floating_widget_settings['exclude_widgets_pages']) ) : ?>
    6170    <div class="evr-floating-widget <?php echo esc_attr($resposive_class); ?> fixed bottom-[46px] z-[99] evr-floating-<?php echo esc_attr($floating_widget_settings['widget_position']); ?> evr-floating-mobile-<?php echo esc_attr($floating_widget_settings['widget_mobile_position']); ?>">
    6271        <div class="floating-button ml-auto relative group inline-flex items-center relative">
  • easy-video-reviews/trunk/easy-video-reviews.php

    r3090960 r3092406  
    55 * Plugin URI:        http://wppool.dev/easy-video-reviews.
    66 * Description:       Easy Video Reviews is the best and easiest video review plugin for WordPress fully compatible with WooCommerce and Easy Digital Downloads plugins. Your customers can record and send video testimonials right from their browser and you can manage and showcase anywhere in your WordPress website.
    7  * Version:           2.5.0
     7 * Version:           2.5.
    88 * Requires at least: 5.0
    99 * Requires PHP:      5.6
     
    3838 * Easy Video Review Version
    3939 */
    40 define('EASY_VIDEO_REVIEWS_VERSION', '2.5.0');
     40define('EASY_VIDEO_REVIEWS_VERSION', '2.5.');
    4141
    4242/**
  • easy-video-reviews/trunk/readme.txt

    r3090960 r3092406  
    55Tested up to: 6.5
    66Requires PHP: 5.6
    7 Stable tag: 2.5.0
     7Stable tag: 2.5.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html.
     
    160160
    161161== Changelog ==
     162
     163
     164
    162165
    163166= 2.5.0 – 22 May 2024 =
  • easy-video-reviews/trunk/templates/frontend/floating-widget.php

    r3090960 r3092406  
    99// Exit if accessed directly.
    1010defined( 'ABSPATH' ) || exit( 1 );
     11
     12
     13
     14
     15
     16
     17
     18
    1119$review_settings = $this->option()->get('review_option');
    1220$this->set_review_state($review_settings);
    13 $floating_widget_settings = $this->option()->get('floating_widgets_settings');
    14 $floating_widget_enable = $this->option()->get('enable_floating_widget_review');
    1521$current_page_id = (string) get_the_ID();
    1622
     
    2430    $clas_name = 'invisible opacity-[0]';
    2531}
    26 
    27 if ( in_array('desktop', $floating_widget_settings['widget_show_on']) && in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
    28     $resposive_class = 'sm:block';
    29 } elseif ( in_array('desktop', $floating_widget_settings['widget_show_on']) ) {
    30     $resposive_class = 'hidden sm:block';
    31 } elseif ( in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
    32     $resposive_class = 'sm:hidden';
     32if ( is_array($floating_widget_settings['widget_show_on']) ) {
     33    if ( in_array('desktop', $floating_widget_settings['widget_show_on']) && in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
     34        $resposive_class = 'sm:block';
     35    } elseif ( in_array('desktop', $floating_widget_settings['widget_show_on']) ) {
     36        $resposive_class = 'hidden sm:block';
     37    } elseif ( in_array('mobile', $floating_widget_settings['widget_show_on']) ) {
     38        $resposive_class = 'sm:hidden';
     39    } else {
     40        $resposive_class = 'sm:block';
     41    }
    3342} else {
    3443    $resposive_class = 'sm:block';
     
    5867?>
    5968<!-- recorder modal -->
    60 <?php if ( ! in_array($current_page_id, $floating_widget_settings['exclude_widgets_pages']) && '1' === $floating_widget_enable ) : ?>
     69<?php if ( ! in_array($current_page_id, $floating_widget_settings['exclude_widgets_pages']) ) : ?>
    6170    <div class="evr-floating-widget <?php echo esc_attr($resposive_class); ?> fixed bottom-[46px] z-[99] evr-floating-<?php echo esc_attr($floating_widget_settings['widget_position']); ?> evr-floating-mobile-<?php echo esc_attr($floating_widget_settings['widget_mobile_position']); ?>">
    6271        <div class="floating-button ml-auto relative group inline-flex items-center relative">
Note: See TracChangeset for help on using the changeset viewer.