WP VR – 360 Panorama and virtual tour creator for WordPress - Version 7.2.1

Version Description

(17-12-2020) = * VR audio JS error fixed * Warning message added for video tour * Tab and accordion issue fixed * Modified rollback options

=

Download this release

Release Info

Developer rextheme
Plugin Icon 128x128 WP VR – 360 Panorama and virtual tour creator for WordPress
Version 7.2.1
Comparing to
See all releases

Code changes from version 7.2.0 to 7.2.1

README.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-fo
5
  Requires at least: 5.0
6
  Tested up to: 5.6.0
7
  Requires PHP: 7.0.0
8
- Stable tag: 7.2.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -563,5 +563,11 @@ Simply add “/plugins/wpvr” to the exclusion field (or use the location where
563
  * WordPress 5.6 compatibility checked
564
  * VR audio conflict fixed
565
 
 
 
 
 
 
 
566
  == Upgrade Notice ==
567
  Please do update the WP VR to the latest version. Each update makes sure your plugin is supporting all tour features.
5
  Requires at least: 5.0
6
  Tested up to: 5.6.0
7
  Requires PHP: 7.0.0
8
+ Stable tag: 7.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
563
  * WordPress 5.6 compatibility checked
564
  * VR audio conflict fixed
565
 
566
+ = 7.2.1 (17-12-2020) =
567
+ * VR audio JS error fixed
568
+ * Warning message added for video tour
569
+ * Tab and accordion issue fixed
570
+ * Modified rollback options
571
+
572
  == Upgrade Notice ==
573
  Please do update the WP VR to the latest version. Each update makes sure your plugin is supporting all tour features.
admin/css/wpvr-admin.css CHANGED
@@ -2453,6 +2453,9 @@ button.delete-hotspot{
2453
 
2454
 
2455
  /* -----------On Boarding Page style----------- */
 
 
 
2456
  .rex-onboarding {
2457
  border-radius: 15px;
2458
  background-color: #fff;
2453
 
2454
 
2455
  /* -----------On Boarding Page style----------- */
2456
+ .rex-onboarding * {
2457
+ box-sizing: border-box;
2458
+ }
2459
  .rex-onboarding {
2460
  border-radius: 15px;
2461
  background-color: #fff;
admin/js/wpvr-admin.js CHANGED
@@ -1089,6 +1089,16 @@
1089
  $(this_id).show();
1090
  $(this_id).siblings().hide();
1091
  });
 
 
 
 
 
 
 
 
 
 
1092
  });
1093
 
1094
 
1089
  $(this_id).show();
1090
  $(this_id).siblings().hide();
1091
  });
1092
+
1093
+ $(".video").on("click", function(e) {
1094
+ $('.sceneid').each(function() {
1095
+ var val = $(this).val();
1096
+ if (val) {
1097
+ alert('Your previous data will be lost');
1098
+ return false;
1099
+ }
1100
+ });
1101
+ });
1102
  });
1103
 
1104
 
admin/partials/wpvr_documentation.php CHANGED
@@ -146,13 +146,6 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
146
 
147
  <div class="promotion-area">
148
  <h4 class="title"><?php _e('Check out our other amazing free plugins!','wpvr'); ?></h4>
149
- <div class="single-block bf">
150
- <a href="https://rextheme.com/black-friday/" target="_blank">
151
- <div class="wpvr-banner-container">
152
- <img src="<?php echo WPVR_PLUGIN_DIR_URL . 'images/Settings-Page_Banner.png'; ?>" style="max-width: 100%;">
153
- </div>
154
- </a>
155
- </div>
156
  <div class="single-block m2c">
157
  <span class="icon">
158
  <img src="<?php echo WPVR_PLUGIN_DIR_URL . 'admin/icon/m2c.png'?>" alt="icon">
@@ -735,13 +728,9 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
735
  <form class="wpvr-version">
736
  <h6><?php _e('Select a Version to Rollback','wpvr'); ?></h6>
737
  <select name="wpvr_version">
738
- <option value="5.6.0">5.6.0</option>
739
- <option value="5.5.0">5.5.0</option>
740
- <option value="5.4.0">5.4.0</option>
741
- <option value="5.3.0">5.3.0</option>
742
- <option value="5.2.0">5.2.0</option>
743
- <option value="5.1.0">5.1.0</option>
744
- <option value="5.0.0">5.0.0</option>
745
  </select>
746
  <input class="wpvr-btn" type="submit" value="Rollback">
747
  </form>
146
 
147
  <div class="promotion-area">
148
  <h4 class="title"><?php _e('Check out our other amazing free plugins!','wpvr'); ?></h4>
 
 
 
 
 
 
 
149
  <div class="single-block m2c">
150
  <span class="icon">
151
  <img src="<?php echo WPVR_PLUGIN_DIR_URL . 'admin/icon/m2c.png'?>" alt="icon">
728
  <form class="wpvr-version">
729
  <h6><?php _e('Select a Version to Rollback','wpvr'); ?></h6>
730
  <select name="wpvr_version">
731
+ <option value="7.2.0">7.2.0</option>
732
+ <option value="7.1.0">7.1.0</option>
733
+ <option value="7.0.0">7.0.0</option>
 
 
 
 
734
  </select>
735
  <input class="wpvr-btn" type="submit" value="Rollback">
736
  </form>
public/class-wpvr-public.php CHANGED
@@ -945,7 +945,7 @@ class Wpvr_Public
945
  <source src="'.$bg_music_url.'" type="audio/mpeg">
946
  Your browser does not support the audio element.
947
  </audio>
948
- <button onclick="playPause'.$id.'()" class="ctrl audio_control" data-play="'.$autoplay_bg_music.'" id="audio_control'.$id.'"><i id="vr-volume'.$id.'" class="wpvrvolumeicon'.$id.' fas fa-volume-up" style="color:#fff;"></i></button>
949
  ';
950
  $html .= '</div>';
951
  }
945
  <source src="'.$bg_music_url.'" type="audio/mpeg">
946
  Your browser does not support the audio element.
947
  </audio>
948
+ <button onclick="playPause'.$id.'()" class="ctrl audio_control" data-play="'.$autoplay_bg_music.'" data-play="'.$autoplay_bg_music.'" id="audio_control'.$id.'"><i id="vr-volume'.$id.'" class="wpvrvolumeicon'.$id.' fas fa-volume-up" style="color:#fff;"></i></button>
949
  ';
950
  $html .= '</div>';
951
  }
public/js/wpvr-public.js CHANGED
@@ -32,7 +32,6 @@
32
  })( jQuery );
33
 
34
  function wpvrhotspot(hotSpotDiv, args) {
35
- console.log("test");
36
  var argst = args.replace(/\\/g, '');
37
  jQuery(document).ready(function($){
38
  $(hotSpotDiv.target).parent().siblings(".custom-ifram-wrapper").find('.custom-ifram').html(argst);
@@ -56,7 +55,7 @@ jQuery(document).ready(function($){
56
 
57
  $(".cross").on("click", function(e){
58
  e.preventDefault();
59
-
60
  $(this).parent(".custom-ifram-wrapper").fadeOut();
61
  $(this).parents(".pano-wrap").removeClass("show-modal");
62
 
32
  })( jQuery );
33
 
34
  function wpvrhotspot(hotSpotDiv, args) {
 
35
  var argst = args.replace(/\\/g, '');
36
  jQuery(document).ready(function($){
37
  $(hotSpotDiv.target).parent().siblings(".custom-ifram-wrapper").find('.custom-ifram').html(argst);
55
 
56
  $(".cross").on("click", function(e){
57
  e.preventDefault();
58
+
59
  $(this).parent(".custom-ifram-wrapper").fadeOut();
60
  $(this).parents(".pano-wrap").removeClass("show-modal");
61
 
wpvr.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WP VR
17
  * Plugin URI: https://rextheme.com/wpvr/
18
  * Description: WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
19
- * Version: 7.2.0
20
  * Author: Rextheme
21
  * Author URI: http://rextheme.com/
22
  * License: GPL-2.0+
@@ -34,7 +34,7 @@ require plugin_dir_path(__FILE__) . 'elementor/elementor.php';
34
  * Start at version 1.0.0 and use SemVer - https://semver.org
35
  * Rename this for your plugin and update it as you release new versions.
36
  */
37
- define('WPVR', '7.2.0');
38
  define('WPVR_FILE', __FILE__);
39
  define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__));
40
  define("WPVR_PLUGIN_PUBLIC_DIR_URL", plugin_dir_url(__FILE__) .'public/');
@@ -893,7 +893,7 @@ function wpvr_block_render($attributes)
893
  <source src="'.$bg_music_url.'" type="audio/mpeg">
894
  Your browser does not support the audio element.
895
  </audio>
896
- <button onclick="playPause'.$id.'()" class="ctrl audio_control" id="audio_control'.$id.'"><i id="vr-volume'.$id.'" class="wpvrvolumeicon'.$id.' fas fa-volume-up" style="color:#fff;"></i></button>
897
  ';
898
  $html .= '</div>';
899
  }
16
  * Plugin Name: WP VR
17
  * Plugin URI: https://rextheme.com/wpvr/
18
  * Description: WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
19
+ * Version: 7.2.1
20
  * Author: Rextheme
21
  * Author URI: http://rextheme.com/
22
  * License: GPL-2.0+
34
  * Start at version 1.0.0 and use SemVer - https://semver.org
35
  * Rename this for your plugin and update it as you release new versions.
36
  */
37
+ define('WPVR', '7.2.1');
38
  define('WPVR_FILE', __FILE__);
39
  define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__));
40
  define("WPVR_PLUGIN_PUBLIC_DIR_URL", plugin_dir_url(__FILE__) .'public/');
893
  <source src="'.$bg_music_url.'" type="audio/mpeg">
894
  Your browser does not support the audio element.
895
  </audio>
896
+ <button onclick="playPause'.$id.'()" class="ctrl audio_control" data-play="'.$autoplay_bg_music.'" id="audio_control'.$id.'"><i id="vr-volume'.$id.'" class="wpvrvolumeicon'.$id.' fas fa-volume-up" style="color:#fff;"></i></button>
897
  ';
898
  $html .= '</div>';
899
  }