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

Version Description

(09-02-2020) = * Export tab alert removed * PHP warning fixed on activation

=

Download this release

Release Info

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

Code changes from version 7.2.2 to 7.2.3

README.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: rextheme, coderexco
3
  Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour, 360, streetview, virtual reality, 360 video, virtual, vr, interactive, 360-degree, equirectangular, google streetview, panoramas
4
  Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-for-wordpress/
5
  Requires at least: 5.0
6
- Tested up to: 5.6.0
7
  Requires PHP: 7.0.0
8
- Stable tag: 7.2.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -573,5 +573,9 @@ Simply add “/plugins/wpvr” to the exclusion field (or use the location where
573
  * Browser JS conflict fixed
574
  * Dummy functions removed
575
 
 
 
 
 
576
  == Upgrade Notice ==
577
  Please do update the WP VR to the latest version. Each update makes sure your plugin is supporting all tour features.
3
  Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour, 360, streetview, virtual reality, 360 video, virtual, vr, interactive, 360-degree, equirectangular, google streetview, panoramas
4
  Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-for-wordpress/
5
  Requires at least: 5.0
6
+ Tested up to: 5.6.1
7
  Requires PHP: 7.0.0
8
+ Stable tag: 7.2.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
573
  * Browser JS conflict fixed
574
  * Dummy functions removed
575
 
576
+ = 7.2.3 (09-02-2020) =
577
+ * Export tab alert removed
578
+ * PHP warning fixed on activation
579
+
580
  == Upgrade Notice ==
581
  Please do update the WP VR to the latest version. Each update makes sure your plugin is supporting all tour features.
admin/class-wpvr-ajax.php CHANGED
@@ -546,7 +546,7 @@ class Wpvr_Ajax {
546
  $panoid = 'pano'.$postid;
547
  $randid = rand(1000, 1000000);
548
  $vidid = 'vid'.$randid;
549
- $videourl = sanitize_url($_POST['videourl']);
550
  $autoplay = sanitize_text_field($_POST['autoplay']);
551
  $loop = sanitize_text_field($_POST['loop']);
552
 
@@ -671,7 +671,7 @@ class Wpvr_Ajax {
671
 
672
  $streetview = $_POST['streetview'];
673
  if ($streetview == 'on') {
674
- $streetviewurl = sanitize_url($_POST['streetviewurl']);
675
  if ($streetviewurl) {
676
  $html .= '<iframe src="'.$streetviewurl.'" width="600" height="400" frameborder="0" style="border:0;" allowfullscreen=""></iframe>';
677
  }
@@ -681,38 +681,11 @@ class Wpvr_Ajax {
681
  die();
682
  }
683
 
684
- // if the type is flat image?
685
- // $is_flat_image = 'no';
686
- // $is_flat_image = sanitize_text_field($_POST['is_flat_image']);
687
- // $flat_image_url = esc_url_raw($_POST['flat_image_url']);
688
- // $hotspot_list = sanitize_text_field($_POST['flat_image_hotspot_list']);
689
- //
690
- //
691
- // if ($is_flat_image === 'yes') {
692
- // $hotspot_list = stripslashes($hotspot_list);
693
- // $hotspot_list = (array) json_decode($hotspot_list);
694
- // $flat_image_hotspot_list = array();
695
- //
696
- // foreach ($hotspot_list['flat-image-hotspot-list'] as $hotspot) {
697
- // $flat_image_hotspot_list[] = (array) $hotspot;
698
- // }
699
- //
700
- // $flat_image_array = array(
701
- // "panoid" => $panoid,
702
- // 'flat_image' => $is_flat_image,
703
- // 'flat_image_url' => $flat_image_url,
704
- // 'hotspot_list' => $flat_image_hotspot_list,
705
- // );
706
- //
707
- // update_post_meta( $postid, 'panodata', $flat_image_array );
708
- // die();
709
- // }
710
-
711
  $pnovideo = $_POST['panovideo'];
712
  if ($pnovideo == "on") {
713
 
714
  $vidid = 'vid'.$postid;
715
- $videourl = sanitize_url($_POST['videourl']);
716
  $autoplay = sanitize_text_field($_POST['autoplay']);
717
  $vidautoplay = sanitize_text_field($_POST['autoplay']);
718
  $loop = sanitize_text_field($_POST['loop']);
@@ -868,6 +841,7 @@ class Wpvr_Ajax {
868
  $vrgallery_display = false;
869
  }
870
 
 
871
  $gyro = sanitize_text_field($_POST['gyro']);
872
  $deviceorientationcontrol = sanitize_text_field($_POST['deviceorientationcontrol']);
873
 
@@ -1251,7 +1225,7 @@ class Wpvr_Ajax {
1251
  $autoplay_bg_music = 'off';
1252
  $loop_bg_music = 'off';
1253
  $bg_music = sanitize_text_field($_POST['bg_music']);
1254
- $bg_music_url = sanitize_url($_POST['bg_music_url']);
1255
  $autoplay_bg_music = sanitize_text_field($_POST['autoplay_bg_music']);
1256
  $loop_bg_music = sanitize_text_field($_POST['loop_bg_music']);
1257
  if ($bg_music == 'on') {
546
  $panoid = 'pano'.$postid;
547
  $randid = rand(1000, 1000000);
548
  $vidid = 'vid'.$randid;
549
+ $videourl = esc_url_raw($_POST['videourl']);
550
  $autoplay = sanitize_text_field($_POST['autoplay']);
551
  $loop = sanitize_text_field($_POST['loop']);
552
 
671
 
672
  $streetview = $_POST['streetview'];
673
  if ($streetview == 'on') {
674
+ $streetviewurl = esc_url_raw($_POST['streetviewurl']);
675
  if ($streetviewurl) {
676
  $html .= '<iframe src="'.$streetviewurl.'" width="600" height="400" frameborder="0" style="border:0;" allowfullscreen=""></iframe>';
677
  }
681
  die();
682
  }
683
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684
  $pnovideo = $_POST['panovideo'];
685
  if ($pnovideo == "on") {
686
 
687
  $vidid = 'vid'.$postid;
688
+ $videourl = esc_url_raw($_POST['videourl']);
689
  $autoplay = sanitize_text_field($_POST['autoplay']);
690
  $vidautoplay = sanitize_text_field($_POST['autoplay']);
691
  $loop = sanitize_text_field($_POST['loop']);
841
  $vrgallery_display = false;
842
  }
843
 
844
+ $gyro = false;
845
  $gyro = sanitize_text_field($_POST['gyro']);
846
  $deviceorientationcontrol = sanitize_text_field($_POST['deviceorientationcontrol']);
847
 
1225
  $autoplay_bg_music = 'off';
1226
  $loop_bg_music = 'off';
1227
  $bg_music = sanitize_text_field($_POST['bg_music']);
1228
+ $bg_music_url = esc_url_raw($_POST['bg_music_url']);
1229
  $autoplay_bg_music = sanitize_text_field($_POST['autoplay_bg_music']);
1230
  $loop_bg_music = sanitize_text_field($_POST['loop_bg_music']);
1231
  if ($bg_music == 'on') {
admin/css/wpvr-admin.css CHANGED
@@ -789,6 +789,7 @@ div.custom-tooltip:hover span:after {
789
  }
790
  .rex-pano-tab-content .rex-pano-tab.streetview,
791
  .rex-pano-tab-content .rex-pano-tab.video,
 
792
  .rex-pano-tab-content .rex-pano-tab.general {
793
  padding: 20px;
794
  }
@@ -2133,6 +2134,7 @@ button.delete-hotspot{
2133
 
2134
  .rex-pano-tab-content .rex-pano-tab.streetview,
2135
  .rex-pano-tab-content .rex-pano-tab.video,
 
2136
  .rex-pano-tab-content .rex-pano-tab.general {
2137
  padding: 20px;
2138
  }
@@ -2343,6 +2345,7 @@ button.delete-hotspot{
2343
  padding: 0 10px;
2344
  }
2345
  .rex-pano-tab-content .rex-pano-tab.video,
 
2346
  .rex-pano-tab-content .rex-pano-tab.general {
2347
  padding: 20px 20px;
2348
  }
789
  }
790
  .rex-pano-tab-content .rex-pano-tab.streetview,
791
  .rex-pano-tab-content .rex-pano-tab.video,
792
+ .rex-pano-tab-content .rex-pano-tab.export,
793
  .rex-pano-tab-content .rex-pano-tab.general {
794
  padding: 20px;
795
  }
2134
 
2135
  .rex-pano-tab-content .rex-pano-tab.streetview,
2136
  .rex-pano-tab-content .rex-pano-tab.video,
2137
+ .rex-pano-tab-content .rex-pano-tab.export,
2138
  .rex-pano-tab-content .rex-pano-tab.general {
2139
  padding: 20px;
2140
  }
2345
  padding: 0 10px;
2346
  }
2347
  .rex-pano-tab-content .rex-pano-tab.video,
2348
+ .rex-pano-tab-content .rex-pano-tab.export,
2349
  .rex-pano-tab-content .rex-pano-tab.general {
2350
  padding: 20px 20px;
2351
  }
admin/partials/wpvr_documentation.php CHANGED
@@ -728,6 +728,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
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.1">7.2.1</option>
732
  <option value="7.2.0">7.2.0</option>
733
  <option value="7.1.0">7.1.0</option>
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.2">7.2.1</option>
732
  <option value="7.2.1">7.2.1</option>
733
  <option value="7.2.0">7.2.0</option>
734
  <option value="7.1.0">7.1.0</option>
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.2
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.2');
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/');
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.3
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.3');
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/');