Yet Another Related Posts Plugin (YARPP) - Version 3.4b4

Version Description

Download this release

Release Info

Developer mitchoyoshitaka
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 3.4b4
Comparing to
See all releases

Code changes from version 3.4b3 to 3.4b4

Files changed (3) hide show
  1. includes.php +1 -1
  2. readme.txt +1 -0
  3. yarpp.php +2 -2
includes.php CHANGED
@@ -275,7 +275,7 @@ class YARPP_Widget extends WP_Widget {
275
<?php // if there are YARPP templates installed...
276
277
$templates = glob(STYLESHEETPATH . '/yarpp-template-*.php');
278
- if ( is_array(templates) && count($templates) ): ?>
279
280
<p><input class="checkbox" id="<?php echo $this->get_field_id('use_template'); ?>" name="<?php echo $this->get_field_name('use_template'); ?>" type="checkbox" <?php checked($instance['use_template'], true) ?> /> <label for="<?php echo $this->get_field_id('use_template'); ?>"><?php _e("Display using a custom template file",'yarpp');?></label></p>
281
<p id="<?php echo $this->get_field_id('template_file_p'); ?>"><label for="<?php echo $this->get_field_id('template_file'); ?>"><?php _e("Template file:",'yarpp');?></label> <select name="<?php echo $this->get_field_name('template_file'); ?>" id="<?php echo $this->get_field_id('template_file'); ?>">
275
<?php // if there are YARPP templates installed...
276
277
$templates = glob(STYLESHEETPATH . '/yarpp-template-*.php');
278
+ if ( is_array($templates) && count($templates) ): ?>
279
280
<p><input class="checkbox" id="<?php echo $this->get_field_id('use_template'); ?>" name="<?php echo $this->get_field_name('use_template'); ?>" type="checkbox" <?php checked($instance['use_template'], true) ?> /> <label for="<?php echo $this->get_field_id('use_template'); ?>"><?php _e("Display using a custom template file",'yarpp');?></label></p>
281
<p id="<?php echo $this->get_field_id('template_file_p'); ?>"><label for="<?php echo $this->get_field_id('template_file'); ?>"><?php _e("Template file:",'yarpp');?></label> <select name="<?php echo $this->get_field_name('template_file'); ?>" id="<?php echo $this->get_field_id('template_file'); ?>">
readme.txt CHANGED
@@ -200,6 +200,7 @@ If you are a bilingual speaker of English and another language and an avid user
200
== Changelog ==
201
202
= 3.4 =
203
* Significant code cleanup
204
* Removed the many different options entries, replacing them with a single `yarpp` option (except `yarpp_version`)
205
* Fixed issues with display options field data escaping and slashing once and for all
200
== Changelog ==
201
202
= 3.4 =
203
+ * [Bug fix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-version-333-breaks-templates-in-widget): Custom templates could not be used in widget display
204
* Significant code cleanup
205
* Removed the many different options entries, replacing them with a single `yarpp` option (except `yarpp_version`)
206
* Fixed issues with display options field data escaping and slashing once and for all
yarpp.php CHANGED
@@ -3,13 +3,13 @@
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://yarpp.org/
5
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
- Version: 3.4b3
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
Donate link: http://tinyurl.com/donatetomitcho
10
*/
11
12
- define('YARPP_VERSION', '3.4b3');
13
define('YARPP_DIR', dirname(__FILE__));
14
define('YARPP_NO_RELATED', ':(');
15
define('YARPP_RELATED', ':)');
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://yarpp.org/
5
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
+ Version: 3.4b4
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
Donate link: http://tinyurl.com/donatetomitcho
10
*/
11
12
+ define('YARPP_VERSION', '3.4b4');
13
define('YARPP_DIR', dirname(__FILE__));
14
define('YARPP_NO_RELATED', ':(');
15
define('YARPP_RELATED', ':)');