Version Description
(25-11-2022) = * BFCM banner & notice added.
Download this release
Release Info
Developer | rextheme |
Plugin | WP VR – 360 Panorama and virtual tour creator for WordPress |
Version | 8.2.5 |
Comparing to | |
See all releases |
Code changes from version 8.2.4 to 8.2.5
- README.txt +4 -1
- admin/classes/class-wpvr-ajax.php +2 -1
- admin/css/wpvr-admin.css +2 -2
- admin/icon/wpvr-banner.png +0 -0
- admin/partials/wpvr_documentation.php +3 -1
- wpvr.php +25 -2
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: 6.0
|
7 |
Requires PHP: 7.0.0
|
8 |
-
Stable tag: 8.2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -309,6 +309,9 @@ Admins can remove the access from Authors and Editors at any time.
|
|
309 |
|
310 |
== Changelog ==
|
311 |
|
|
|
|
|
|
|
312 |
= 8.2.4 (09-11-2022) =
|
313 |
* Update: Checked compatibility with WordPress 6.1
|
314 |
* Fix: Hotspot Image Content Conflict with WP 6.1
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 7.0.0
|
8 |
+
Stable tag: 8.2.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
309 |
|
310 |
== Changelog ==
|
311 |
|
312 |
+
= 8.2.5 (25-11-2022) =
|
313 |
+
* BFCM banner & notice added.
|
314 |
+
|
315 |
= 8.2.4 (09-11-2022) =
|
316 |
* Update: Checked compatibility with WordPress 6.1
|
317 |
* Fix: Hotspot Image Content Conflict with WP 6.1
|
admin/classes/class-wpvr-ajax.php
CHANGED
@@ -207,7 +207,8 @@ class Wpvr_Ajax {
|
|
207 |
*/
|
208 |
function wpvr_notice()
|
209 |
{
|
210 |
-
update_option('
|
|
|
211 |
}
|
212 |
|
213 |
}
|
207 |
*/
|
208 |
function wpvr_notice()
|
209 |
{
|
210 |
+
update_option('wpvr_black_friday_notice', '1');
|
211 |
+
// update_option('wpvr_warning', '1');
|
212 |
}
|
213 |
|
214 |
}
|
admin/css/wpvr-admin.css
CHANGED
@@ -3321,7 +3321,7 @@ button.delete-scene {
|
|
3321 |
/* ---banner block--- */
|
3322 |
|
3323 |
.rex-onboarding .single-block.banner {
|
3324 |
-
border: 5px solid #fff
|
3325 |
padding: 0;
|
3326 |
margin-top: 0;
|
3327 |
width: calc(100% / 3 * 2 - 30px);
|
@@ -3333,7 +3333,7 @@ button.delete-scene {
|
|
3333 |
}
|
3334 |
|
3335 |
.rex-onboarding .single-block.banner img {
|
3336 |
-
border-radius: 10px
|
3337 |
display: block;
|
3338 |
max-width: 100%;
|
3339 |
}
|
3321 |
/* ---banner block--- */
|
3322 |
|
3323 |
.rex-onboarding .single-block.banner {
|
3324 |
+
/*border: 5px solid #fff;*/
|
3325 |
padding: 0;
|
3326 |
margin-top: 0;
|
3327 |
width: calc(100% / 3 * 2 - 30px);
|
3333 |
}
|
3334 |
|
3335 |
.rex-onboarding .single-block.banner img {
|
3336 |
+
/*border-radius: 10px;*/
|
3337 |
display: block;
|
3338 |
max-width: 100%;
|
3339 |
}
|
admin/icon/wpvr-banner.png
ADDED
Binary file
|
admin/partials/wpvr_documentation.php
CHANGED
@@ -159,7 +159,9 @@ $rollback_versions = function_exists( 'rex_wpvr_get_roll_back_versions' ) ?
|
|
159 |
<div class="info-wrapper">
|
160 |
|
161 |
<div class="single-block banner">
|
162 |
-
<
|
|
|
|
|
163 |
</div>
|
164 |
|
165 |
<div class="single-block share-block">
|
159 |
<div class="info-wrapper">
|
160 |
|
161 |
<div class="single-block banner">
|
162 |
+
<a href="https://rextheme.com/black-friday/?utm\_source=jahir-collaborators&utm\_medium=button&utm\_campaign=roundup&utm\_id=BFCM" target="_blank">
|
163 |
+
<img src="<?php echo WPVR_PLUGIN_DIR_URL . 'admin/icon/wpvr-banner.png' ?>" alt="wpvr-banner">
|
164 |
+
</a>
|
165 |
</div>
|
166 |
|
167 |
<div class="single-block share-block">
|
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: 8.2.
|
20 |
* Author: Rextheme
|
21 |
* Author URI: http://rextheme.com/
|
22 |
* License: GPL-2.0+
|
@@ -37,7 +37,7 @@ require plugin_dir_path(__FILE__) . 'elementor/elementor.php';
|
|
37 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
38 |
* Rename this for your plugin and update it as you release new versions.
|
39 |
*/
|
40 |
-
define('WPVR_VERSION', '8.2.
|
41 |
define('WPVR_FILE', __FILE__);
|
42 |
define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__));
|
43 |
define("WPVR_PLUGIN_DIR_PATH", plugin_dir_path(__FILE__));
|
@@ -2462,3 +2462,26 @@ function replace_callback($matches){
|
|
2462 |
}
|
2463 |
|
2464 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 8.2.5
|
20 |
* Author: Rextheme
|
21 |
* Author URI: http://rextheme.com/
|
22 |
* License: GPL-2.0+
|
37 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
38 |
* Rename this for your plugin and update it as you release new versions.
|
39 |
*/
|
40 |
+
define('WPVR_VERSION', '8.2.5');
|
41 |
define('WPVR_FILE', __FILE__);
|
42 |
define("WPVR_PLUGIN_DIR_URL", plugin_dir_url(__FILE__));
|
43 |
define("WPVR_PLUGIN_DIR_PATH", plugin_dir_path(__FILE__));
|
2462 |
}
|
2463 |
|
2464 |
}
|
2465 |
+
|
2466 |
+
|
2467 |
+
function general_admin_notice(){
|
2468 |
+
global $post_type;
|
2469 |
+
$get_notice = get_option("wpvr_black_friday_notice");
|
2470 |
+
if($get_notice != true){
|
2471 |
+
if(is_plugin_active('wpvr-pro/wpvr-pro.php')){
|
2472 |
+
echo '<div class="notice notice-success is-dismissible wpvr-halloween-notice">
|
2473 |
+
<div style="display: flex; align-items:center">
|
2474 |
+
<p>Upgrade your WPVR Premium plan & Save a flat 30% this Black Friday. Coupon code: BFCM30. </p> <a href="https://rextheme.com/login/" target="_blank">Click here to upgrade your plan</a>
|
2475 |
+
</div>
|
2476 |
+
</div>';
|
2477 |
+
}else{
|
2478 |
+
echo '<div class="notice notice-success is-dismissible wpvr-halloween-notice">
|
2479 |
+
<div style="display: flex; align-items:center">
|
2480 |
+
<p>This Black Friday, upgrade to WPVR Pro & save Up To $195 using the Coupon Code: BFCM30. </p> <a href="https://rextheme.com/black-friday/?utm\_source=jahir-collaborators&utm\_medium=button&utm\_campaign=roundup&utm\_id=BFCM" target="_blank"> Grab it now. </a>
|
2481 |
+
</div>
|
2482 |
+
</div>';
|
2483 |
+
}
|
2484 |
+
}
|
2485 |
+
|
2486 |
+
}
|
2487 |
+
add_action('admin_notices', 'general_admin_notice');
|