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 | legacy/admin/classes/class-wpvr-meta-field.php +2 -1 9.1.4 → 9.2.0 View file →
@@ -1358,8 +1358,9 @@
1358 1358 $fields = array(
1359 1359 'hotspot-type' => array(
1360 1360 'title' => __('Hotspot-Type','wpvr'),
1361 1361 'type' => 'info_type_select',
1362 + 'value' => $pano_hotspot['hotspot-type'] ?? 'info',
1362 1363 ),
1363 1364 'hotspot-url' => array(
1364 1365 'title' => __('URL','wpvr'),
1365 1366 'type' => 'info_url',
@@ -3686,9 +3687,9 @@
3686 3687 </div>
3687 3688
3688 3689 <select name="<?php echo esc_attr( $name ); ?>">
3689 3690 <?php
3690 - $hotspot_type = 'info';
3691 + $hotspot_type = $val['value'] ?? 'info';
3691 3692 foreach ($default_type as $key => $value) {
3692 3693 echo sprintf("<option %s value='%s'>%s</option>\n", selected($key, $hotspot_type, false), esc_attr($key), esc_attr($value));
3693 3694 } ?>
3694 3695 </select>