Yet Another Related Posts Plugin (YARPP) - Version 4.3.1

Version Description

  • Tested on WordPress 4.4.
  • Fix $lang missing error in YARPP_Cache.php
  • Fix WP_Widget deprecation PHP error
Download this release

Release Info

Developer jeffparker
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 4.3.1
Comparing to
See all releases

Code changes from version 4.2.5 to 4.3.1

classes/YARPP_Admin.php CHANGED
@@ -303,13 +303,6 @@ class YARPP_Admin {
303
304
} else {
305
306
- $out .=
307
- '<p>'.
308
- 'We would really appreciate your input to help us continue to <a href="http://www.yarpp.com" target="_blank">improve the product</a>. We are primarily looking '.
309
- 'for country, domain, and date installed information. Please help us make YARPP better by providing this information and by filling '.
310
- 'out our quick, 5 question survey: <a href="http://www.surveymonkey.com/s/Z278L88" target="_blank">http://www.surveymonkey.com/s/Z278L88</a>'.
311
- '</p>';
312
-
313
$out .= '</p><p>';
314
if($optinAction !== 'disable'){
315
$out .= $this->the_donothing_button('No, thanks').'&nbsp;&nbsp;';
303
304
} else {
305
306
$out .= '</p><p>';
307
if($optinAction !== 'disable'){
308
$out .= $this->the_donothing_button('No, thanks').'&nbsp;&nbsp;';
classes/YARPP_Cache.php CHANGED
@@ -355,7 +355,10 @@ abstract class YARPP_Cache {
355
break;
356
}
357
}
358
-
359
$words_file = YARPP_DIR.'/lang/words-'.$lang.'.php';
360
if (file_exists($words_file)) include($words_file);
361
if (!isset($overusedwords)) $overusedwords = array();
355
break;
356
}
357
}
358
+ else {
359
+ $lang = 'en_US';
360
+ }
361
+
362
$words_file = YARPP_DIR.'/lang/words-'.$lang.'.php';
363
if (file_exists($words_file)) include($words_file);
364
if (!isset($overusedwords)) $overusedwords = array();
classes/YARPP_Widget.php CHANGED
@@ -6,7 +6,7 @@
6
class YARPP_Widget extends WP_Widget {
7
8
public function __construct() {
9
- parent::WP_Widget(false, 'Related Posts (YARPP)', array('description' => 'Related Posts and/or Sponsored Content'));
10
wp_enqueue_style('yarppWidgetCss', YARPP_URL.'/style/widget.css');
11
}
12
6
class YARPP_Widget extends WP_Widget {
7
8
public function __construct() {
9
+ parent::__construct(false, 'Related Posts (YARPP)', array('description' => 'Related Posts and/or Sponsored Content'));
10
wp_enqueue_style('yarppWidgetCss', YARPP_URL.'/style/widget.css');
11
}
12
readme.txt CHANGED
@@ -5,8 +5,8 @@ Author URI: http://www.yarpp.com/
5
Plugin URI: http://www.yarpp.com/
6
Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
7
Requires at least: 3.3
8
- Tested up to: 4.2.2
9
- Stable tag: 4.2.5
10
License: GPLv2 or later
11
12
Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
@@ -14,21 +14,20 @@ Display a list of related posts on your site based on a powerful unique algorith
14
== Description ==
15
16
Yet Another Related Posts Plugin (YARPP) displays pages, posts, and custom post types related to the current entry, introducing your readers to other relevant content on your site.
17
- [(See current offers and promotions for YARPP Pro users.)](http://www.yarpp.com/offers)
18
19
- **NEW!** Now you can mix and match **YARPP Basic** and **YARPP Pro** to get the best of both features, beneath articles or in the sidebar! Use the combination that works best for you.
20
21
- **Enable YARPP Pro for Powerful Enhancements**
22
-----------------------------------------
23
- * **Customize thumbnail layout** through the user interface.
24
- * **Pull related content from multiple sites**.
25
* **Make money by displaying sponsored content**, at the bottom of your posts, in the sidebar, or both.
26
* **Easily promote your product or service** on thousands of blogs and websites.
27
- * **Get detailed reporting** about your related content list.
28
29
[Learn more about the new YARPP Pro enhancements!](http://www.yarpp.com)
30
31
- **Keep YARPP Basic for Standard Features**
32
-------------------------------------------
33
* **Thumbnail or list view** of related content.
34
* **Related posts, pages, and custom post types.**
@@ -66,7 +65,7 @@ YARPP allows the advanced user with knowledge of PHP to customize the display of
66
67
Below are Frequently Asked Questions about YARPP basic. For questions about the new YARPP Pro enhancements, please visit the [YARPP Pro FAQ](http://www.yarpp.com/faq).
68
69
- If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). We'd also appreciate if you would help us improve YARPP by [answering a few survey questions](http://www.surveymonkey.com/s/Z278L88). Thanks for your feedback!
70
71
= Many pages list "no related posts." =
72
@@ -298,6 +297,11 @@ YARPP is currently localized in the following languages:
298
299
== Changelog ==
300
301
= 4.2.5 =
302
* Tested on WordPress 4.2.2.
303
* Styling fix: User can now override all YARPP CSS styling
5
Plugin URI: http://www.yarpp.com/
6
Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
7
Requires at least: 3.3
8
+ Tested up to: 4.4
9
+ Stable tag: 4.3.1
10
License: GPLv2 or later
11
12
Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
14
== Description ==
15
16
Yet Another Related Posts Plugin (YARPP) displays pages, posts, and custom post types related to the current entry, introducing your readers to other relevant content on your site.
17
18
+ Now you can mix and match **YARPP Basic** and **YARPP Pro** to get the best of both features, beneath articles or in the sidebar! Use the combination that works best for you.
19
20
+ **YARPP Pro for Sponsored Content**
21
-----------------------------------------
22
+ * Create a **variety of native units**, including Content Recommendation or In Feed display
23
* **Make money by displaying sponsored content**, at the bottom of your posts, in the sidebar, or both.
24
* **Easily promote your product or service** on thousands of blogs and websites.
25
+ * Advertisers are now able to bid by CPC and/or CPM
26
+ * Support for more granular advertiser targeting such as IAB category and geo-targeting by DMA
27
28
[Learn more about the new YARPP Pro enhancements!](http://www.yarpp.com)
29
30
+ **YARPP Basic for Standard Features**
31
-------------------------------------------
32
* **Thumbnail or list view** of related content.
33
* **Related posts, pages, and custom post types.**
65
66
Below are Frequently Asked Questions about YARPP basic. For questions about the new YARPP Pro enhancements, please visit the [YARPP Pro FAQ](http://www.yarpp.com/faq).
67
68
+ If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin).
69
70
= Many pages list "no related posts." =
71
297
298
== Changelog ==
299
300
+ = 4.3.1 =
301
+ * Tested on WordPress 4.4.
302
+ * Fix $lang missing error in YARPP_Cache.php
303
+ * Fix WP_Widget deprecation PHP error
304
+
305
= 4.2.5 =
306
* Tested on WordPress 4.2.2.
307
* Styling fix: User can now override all YARPP CSS styling
yarpp.php CHANGED
@@ -2,7 +2,7 @@
2
/*----------------------------------------------------------------------------------------------------------------------
3
Plugin Name: Yet Another Related Posts Plugin
4
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
5
- Version: 4.2.5
6
Author: Adknowledge
7
Author URI: http://www.yarpp.com/
8
Plugin URI: http://www.yarpp.com/
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_DIR')){
14
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
}
16
17
- define('YARPP_VERSION', '4.2.5');
18
define('YARPP_DIR', dirname(__FILE__));
19
define('YARPP_URL', plugins_url('',__FILE__));
20
define('YARPP_NO_RELATED', ':(');
2
/*----------------------------------------------------------------------------------------------------------------------
3
Plugin Name: Yet Another Related Posts Plugin
4
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
5
+ Version: 4.3.1
6
Author: Adknowledge
7
Author URI: http://www.yarpp.com/
8
Plugin URI: http://www.yarpp.com/
14
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
15
}
16
17
+ define('YARPP_VERSION', '4.3.1');
18
define('YARPP_DIR', dirname(__FILE__));
19
define('YARPP_URL', plugins_url('',__FILE__));
20
define('YARPP_NO_RELATED', ':(');