Version Description
Download this release
Release Info
Developer | codeinwp |
Plugin | WP Product Review Lite |
Version | 2.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.9.0 to 2.9.1
- inc/widget-layouts/style 1.php +6 -2
- inc/wppr-main.php +3 -3
- readme.txt +5 -0
- wp-product-review.php +2 -2
inc/widget-layouts/style 1.php
CHANGED
@@ -54,8 +54,12 @@
|
|
54 |
}
|
55 |
?>
|
56 |
<p class="wppr-style1-buttons">
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
59 |
</p>
|
60 |
</div>
|
61 |
<div class="clear"></div>
|
54 |
}
|
55 |
?>
|
56 |
<p class="wppr-style1-buttons">
|
57 |
+
<?php if (!empty($instance['cwp_tp_buynow'])) { ?>
|
58 |
+
<a href='<?php echo $affiliate_link;?>' rel='nofollow' target='_blank' class='wppr-bttn'><?php _e($instance['cwp_tp_buynow'], "cwppos");?></a>
|
59 |
+
<?php } ?>
|
60 |
+
<?php if (!empty($instance['cwp_tp_readreview'])) { ?>
|
61 |
+
<a href='<?php echo $review_link;?>' rel='nofollow' class='wppr-bttn'><?php _e($instance['cwp_tp_readreview'], "cwppos");?></a>
|
62 |
+
<?php } ?>
|
63 |
</p>
|
64 |
</div>
|
65 |
<div class="clear"></div>
|
inc/wppr-main.php
CHANGED
@@ -340,7 +340,7 @@ function wppr_get_image_id($post_id, $image_url = "", $size = "thumbnail" ) {
|
|
340 |
function custom_bar_icon() {
|
341 |
$options = cwppos();
|
342 |
|
343 |
-
if ($options['cwppos_show_poweredby']=="yes" || function_exists("wppr_ci_custom_bar_icon") || class_exists('CWP_PR_PRO_Core')) {
|
344 |
wp_register_script("cwp-custom-bar-icon", WPPR_URL.'/javascript/custom-bar-icon.js', false, "1.0", "all");
|
345 |
wp_enqueue_script("cwp-custom-bar-icon");
|
346 |
}
|
@@ -353,7 +353,7 @@ function cwppos_pac_register() {
|
|
353 |
function cwp_def_settings() {
|
354 |
global $post;
|
355 |
$options = cwppos();
|
356 |
-
if (function_exists('wppr_ci_custom_bar_icon') || $options['cwppos_show_poweredby']=="yes") {
|
357 |
$isSetToPro = true;
|
358 |
} else {
|
359 |
$isSetToPro = false;
|
@@ -519,4 +519,4 @@ $notification = new TAV_Remote_Notification_Client( 36, '71a28628279f6d55', 'htt
|
|
519 |
|
520 |
if (class_exists('CWP_PR_PRO_Core')) $cwp_pr_pro = new CWP_PR_PRO_Core();
|
521 |
|
522 |
-
load_plugin_textdomain('cwppos', false, dirname(plugin_basename(WPPR_PATH)).'/languages/');
|
340 |
function custom_bar_icon() {
|
341 |
$options = cwppos();
|
342 |
|
343 |
+
if (( isset($options['cwppos_show_poweredby']) && $options['cwppos_show_poweredby'] == "yes" ) || function_exists("wppr_ci_custom_bar_icon") || class_exists('CWP_PR_PRO_Core')) {
|
344 |
wp_register_script("cwp-custom-bar-icon", WPPR_URL.'/javascript/custom-bar-icon.js', false, "1.0", "all");
|
345 |
wp_enqueue_script("cwp-custom-bar-icon");
|
346 |
}
|
353 |
function cwp_def_settings() {
|
354 |
global $post;
|
355 |
$options = cwppos();
|
356 |
+
if (function_exists('wppr_ci_custom_bar_icon') || ( isset($options['cwppos_show_poweredby']) && $options['cwppos_show_poweredby']=="yes" ) ) {
|
357 |
$isSetToPro = true;
|
358 |
} else {
|
359 |
$isSetToPro = false;
|
519 |
|
520 |
if (class_exists('CWP_PR_PRO_Core')) $cwp_pr_pro = new CWP_PR_PRO_Core();
|
521 |
|
522 |
+
load_plugin_textdomain('cwppos', false, dirname(plugin_basename(WPPR_PATH)).'/languages/');
|
readme.txt
CHANGED
@@ -72,6 +72,11 @@ If you wanna learn more about the <a href="http://www.codeinwp.com/blog/fastest-
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
|
|
|
|
75 |
**New in 2.9.0**
|
76 |
|
77 |
- Added shortcode support on all review fields
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
**New in 2.9.1**
|
76 |
+
|
77 |
+
- Fixed undefined notice on plugin activation
|
78 |
+
- Removed review buttons on links when the values are empty for widgets
|
79 |
+
|
80 |
**New in 2.9.0**
|
81 |
|
82 |
- Added shortcode support on all review fields
|
wp-product-review.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
*
|
10 |
* Plugin Name: WP Product Review Lite
|
11 |
* Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
|
12 |
-
* Version: 2.9.
|
13 |
* Author: Themeisle
|
14 |
* Author URI: http://themeisle.com/
|
15 |
* Plugin URI: http://themeisle.com/plugins/wp-product-review/
|
@@ -22,7 +22,7 @@
|
|
22 |
* Domain Path: /languages
|
23 |
*/
|
24 |
|
25 |
-
define( 'WPPR_LITE_VERSION','2.9.
|
26 |
define( 'WPPR_PATH',dirname( __FILE__ ) );
|
27 |
define( 'WPPR_URL',plugins_url( 'wp-product-review' ) );
|
28 |
|
9 |
*
|
10 |
* Plugin Name: WP Product Review Lite
|
11 |
* Description: The highest rated and most complete review plugin, now with rich snippets support. Easily turn your basic posts into in-depth reviews.
|
12 |
+
* Version: 2.9.1
|
13 |
* Author: Themeisle
|
14 |
* Author URI: http://themeisle.com/
|
15 |
* Plugin URI: http://themeisle.com/plugins/wp-product-review/
|
22 |
* Domain Path: /languages
|
23 |
*/
|
24 |
|
25 |
+
define( 'WPPR_LITE_VERSION','2.9.1' );
|
26 |
define( 'WPPR_PATH',dirname( __FILE__ ) );
|
27 |
define( 'WPPR_URL',plugins_url( 'wp-product-review' ) );
|
28 |
|