PluginProbe
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress / 9.2.0
WPVR – 360 Panorama viewer and Virtual Tour Builder for WordPress v9.2.0
9.2.0 9.1.4 9.1.3 9.1.2 9.1.1 9.1.0 9.0.3 9.0.2 9.0.1 9.0.0 8.5.79 8.5.78 8.5.77 8.5.76 8.5.75 8.5.74 8.5.73 8.5.72 8.5.71 8.5.70 8.5.69 8.5.68 8.5.35 8.5.36 8.5.37 All 224 releases
← All changes | wpvr.php +22 -6 9.0.0 → 9.2.0 View file →
@@ -17,10 +17,10 @@
17 17 * @wordpress-plugin
18 18 * Plugin Name: WP VR - 360 Panorama and Virtual Tour Builder
19 19 * Plugin URI: https://rextheme.com/wpvr/
20 20 * Description: WP VR - 360 Panorama and virtual tour creator is a customized panaroma & virtual builder tool for your website.
21 - * Version: 9.0.0
22 - * Tested up to: 6.9
21 + * Version: 9.2.0
22 + * Tested up to: 7.1
23 23 * Author: Rextheme
24 24 * Author URI: http://rextheme.com/
25 25 * License: GPL-2.0+
26 26 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -32,9 +32,9 @@
32 32 if (!defined('WPINC')) {
33 33 die;
34 34 }
35 35
36 -define('WPVR_VERSION', '9.0.0');
36 +define('WPVR_VERSION', '9.2.0');
37 37 define('WPVR_FILE', __FILE__);
38 38 define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__).'legacy/');
39 39 define("WPVR_PLUGIN_DIR_PATH", plugin_dir_path(__FILE__).'legacy/');
40 40 define("WPVR_PLUGIN_LEGACY_DIR_PATH", plugin_dir_path(__FILE__) . 'legacy/');
@@ -118,8 +118,12 @@
118 118 if ( isset( $postdata['scene_navigation'] ) ) {
119 119 $postdata['scene_navigation'] = in_array( $postdata['scene_navigation'], [ true, 1, '1', 'on' ], true ) ? 'on' : 'off';
120 120 }
121 121
122 + if ( isset( $postdata['autoLoad'] ) ) {
123 + $postdata['autoLoad'] = in_array( $postdata['autoLoad'], [ true, 1, '1', 'on', 'true' ], true );
124 + }
125 +
122 126 if ( wpvr_is_pro_active() ) {
123 127 return $postdata;
124 128 }
125 129
@@ -149,13 +153,15 @@
149 153 'layout_icon_color' => '#ffffff',
150 154 ];
151 155 $postdata['draggable'] = true;
152 156 $postdata['mouseZoom'] = true;
153 - $postdata['diskeyboard'] = true;
157 + $postdata['diskeyboard'] = false;
154 158 $postdata['keyboardzoom'] = true;
155 159 $postdata['hfov'] = '';
156 160 $postdata['maxHfov'] = '';
157 161 $postdata['minHfov'] = '';
162 + $postdata['cpLogoImg'] = '';
163 + $postdata['cpLogoContent'] = '';
158 164
159 165 if ( ( $postdata['tour-type'] ?? '' ) === 'street-view' || isset( $postdata['streetviewdata'] ) ) {
160 166 $postdata['tour-type'] = 'image';
161 167 $postdata['streetview'] = 'off';
@@ -645,12 +651,22 @@
645 651 $loaded = true;
646 652 }
647 653
648 654 // UI/UX Mode Switch: legacy/classic or latest
649 -// Option: wpvr_ui_mode (default: legacy)
655 +// Option: wpvr_ui_mode (default: latest)
650 656 wpvr_register_src_autoloader();
651 657
652 -$wpvr_ui_mode = get_option('wpvr_ui_mode', 'legacy');
658 +// Promotional banner on WPVR listing page.
659 +\RexTheme\WPVR\Admin\PromotionalBanner::init();
660 +
661 +// Apply the new default once for both fresh installs and existing sites.
662 +// Keep subsequent manual UI switches intact, including after reactivation.
663 +if (!get_option('wpvr_new_ui_default_applied', false)) {
664 + update_option('wpvr_ui_mode', 'latest');
665 + update_option('wpvr_new_ui_default_applied', true);
666 +}
667 +
668 +$wpvr_ui_mode = get_option('wpvr_ui_mode', 'latest');
653 669 if ($wpvr_ui_mode === 'latest') {
654 670 require_once plugin_dir_path(__FILE__) . 'src/Bootstrap.php';
655 671 \RexTheme\WPVR\Bootstrap::init();
656 672 } else {