| @@ -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.1.2 | |
| 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.1.2'); | |
| 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'; |