Yet Another Related Posts Plugin (YARPP) - Version 3.5.2

Version Description

  • Bugfix: fix an unfortunate typo which caused "no related posts" on many environments with non-MyISAM tables
  • Fixed a bug where related posts would not be recomputed on post update, on environments using the table YARPP cache method and a persistent object caching system, like W3 Total Cache or memcached
  • Bugfix: reference to get_post_types() failed in ajax display
  • Fixed a bug where some RSS display options were not being obeyed
  • Fixed a bug where the "automatic display" was being displayed on some custom post types without any control.
  • Localizations:
    • Added Czech (cs_CZ) localization by Zdenek Hejl
    • Added Serbian (sr_RS) by Zarko Zivkovic
    • Fixed bug in Dutch localization
  • Clarified readme to require WordPress 3.1
  • Code cleanup:
    • PHP 5.3+: replaced an instance of ereg_replace
    • Removed warning on settings save
    • Sometimes a warning was printed on upgrade from YARPP < 3.4.4
    • Fixed PHP warning when no taxonomies are considered
    • No longer using clear_pre function which has been deprecated since WordPress 3.4.
Download this release

Release Info

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

Code changes from version 3.5.2b2 to 3.5.2

Files changed (8) hide show
  1. blogglue.php +0 -61
  2. cache-tables.php +19 -6
  3. class-cache.php +3 -3
  4. class-core.php +36 -24
  5. lang/yarpp-nl_NL.mo +0 -0
  6. lang/yarpp-nl_NL.po +180 -207
  7. readme.txt +14 -4
  8. yarpp.php +2 -6
blogglue.php DELETED
@@ -1,61 +0,0 @@
1
- <?php
2
- function yarpp_blogglue_enqueue() {
3
- wp_enqueue_script( 'thickbox' );
4
- wp_enqueue_style( 'thickbox' );
5
- }
6
- add_action( 'admin_enqueue_scripts', 'yarpp_blogglue_enqueue' );
7
-
8
- function add_yarpp_blogglue_meta_box() {
9
- class YARPP_Meta_Box_BlogGlue extends YARPP_Meta_Box {
10
- function display() {
11
- $pluginurl = plugin_dir_url(__FILE__);
12
- ?>
13
- <style type="text/css">
14
- #blogglue_upsell .center {
15
- text-align: center;
16
- }
17
- #blogglue_upsell ul {
18
- text-align: left;
19
- margin: 10px 0 10px 15px;
20
- }
21
- #blogglue_upsell ul li {
22
- list-style: disc outside !important;
23
- }
24
- #TB_ajaxContent {
25
- height: 480px !important;
26
- padding: 10px;
27
- overflow: hidden;
28
- }
29
- ul.install_help {
30
- list-style-type: disc;
31
- list-style-position: inside;
32
- text-align: left;
33
- margin: 20px 0px;
34
- }
35
- </style>
36
- <div id="blogglue_upsell">
37
- <p class="center"><img src="http://s3.amazonaws.com/arkayne-media/img/logo-md.png" alt="BlogGlue Logo"/></p>
38
- <p>In addition to related links on your own site, YARPP and BlogGlue have partnered to increase your blog’s audience by:</p>
39
- <ul>
40
- <li>delivering a new audience from trusted partners with relevant, crosslinked content</li>
41
- <li>improving search engine placement</li>
42
- <li>pulling traffic from Facebook, Twitter and LinkedIn</li>
43
- </ul>
44
- <p class="center"><a href="<?php echo wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=arkayne-site-to-site-related-content'), 'install-plugin_arkayne-site-to-site-related-content'); ?>"><img src="http://s3.amazonaws.com/arkayne-media/img/installnow.png" alt="Install Now!"/></a><img src="http://www.blogglue.com/cohorts/track/yarpp_sidebar.gif"/></p>
45
-
46
- <p class="center">Want to learn more? <a href="#TB_inline?title=rar&height=450&width=610&inlineId=blogglue_video" title="Free Upgrade To BlogGlue: More Information" class="thickbox">Watch A Video</a></p>
47
- </div>
48
- <div id="blogglue_video" style="display: none;">
49
- <img src="http://s3.amazonaws.com/arkayne-media/img/logo.png" alt="BlogGlue Logo"/>
50
-
51
- <iframe src="http://player.vimeo.com/video/33007489?title=0&amp;byline=0&amp;portrait=0&amp;color=ff6300" width="601" height="338" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
52
-
53
- <p style="text-align:center;"><a href="<?php echo wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=arkayne-site-to-site-related-content'), 'install-plugin_arkayne-site-to-site-related-content'); ?>"><img src="http://s3.amazonaws.com/arkayne-media/img/installnow.png" alt="Install Now!"/></a></p>
54
- </div>
55
- <?php
56
- }
57
- }
58
-
59
- add_meta_box('yarpp_display_blogglue', 'Free Upgrade To BlogGlue', array(new YARPP_Meta_Box_BlogGlue, 'display'), 'settings_page_yarpp', 'side', 'core');
60
- }
61
- add_action( 'add_meta_boxes_settings_page_yarpp', 'add_yarpp_blogglue_meta_box' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cache-tables.php CHANGED
@@ -58,6 +58,10 @@ class YARPP_Cache_Tables extends YARPP_Cache {
58
  ' ADD PRIMARY KEY ( `reference_ID` , `ID` ),' .
59
  ' ADD INDEX (`score`), ADD INDEX (`ID`)');
60
  }
 
 
 
 
61
  }
62
 
63
  public function cache_status() {
@@ -174,12 +178,19 @@ class YARPP_Cache_Tables extends YARPP_Cache {
174
 
175
  public function clear($reference_ID) {
176
  global $wpdb;
177
- if (is_array($reference_ID) && count($reference_ID)) {
178
- $wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID in (".implode(',',$reference_ID).")");
179
- $wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . " where ID in (".implode(',',$reference_ID).")");
180
- } else if (is_int($reference_ID)) {
181
- $wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID = {$reference_ID}");
182
- $wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . " where ID = {$reference_ID}");
 
 
 
 
 
 
 
183
  }
184
  }
185
 
@@ -231,6 +242,8 @@ class YARPP_Cache_Tables extends YARPP_Cache {
231
  global $wpdb;
232
  $wpdb->query("truncate table `{$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . "`");
233
  $wpdb->query("truncate table `{$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . "`");
 
 
234
  }
235
 
236
  public function related($reference_ID = null, $related_ID = null) {
58
  ' ADD PRIMARY KEY ( `reference_ID` , `ID` ),' .
59
  ' ADD INDEX (`score`), ADD INDEX (`ID`)');
60
  }
61
+ if ( $last_version && version_compare('3.5.2b3', $last_version) > 0 ) {
62
+ // flush object cache, as bad is_cached_* values were stored before
63
+ wp_cache_flush();
64
+ }
65
  }
66
 
67
  public function cache_status() {
178
 
179
  public function clear($reference_ID) {
180
  global $wpdb;
181
+
182
+ // everything is an array now:
183
+ if ( !is_array($reference_ID) )
184
+ $reference_ID = array( $reference_ID );
185
+
186
+ if ( !count($reference_ID) )
187
+ return;
188
+
189
+ $wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " where reference_ID in (".implode(',',$reference_ID).")");
190
+ $wpdb->query("delete from {$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . " where ID in (".implode(',',$reference_ID).")");
191
+ // @since 3.5.2: clear is_cached_* values as well
192
+ foreach ( $reference_ID as $id ) {
193
+ wp_cache_delete( 'is_cached_' . $id, 'yarpp' );
194
  }
195
  }
196
 
242
  global $wpdb;
243
  $wpdb->query("truncate table `{$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . "`");
244
  $wpdb->query("truncate table `{$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . "`");
245
+ // @since 3.5.2: clear object cache, used for is_cached_* values
246
+ wp_cache_flush();
247
  }
248
 
249
  public function related($reference_ID = null, $related_ID = null) {
class-cache.php CHANGED
@@ -166,7 +166,7 @@ abstract class YARPP_Cache {
166
  $newsql .= " + (MATCH (post_title) AGAINST ('".$wpdb->escape($keywords['title'])."')) * ". absint($weight['title']);
167
 
168
  // Build tax criteria query parts based on the weights
169
- foreach ( $weight['tax'] as $tax => $weight ) {
170
  $newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($weight);
171
  }
172
 
@@ -175,7 +175,7 @@ abstract class YARPP_Cache {
175
  $newsql .= "\n from $wpdb->posts \n";
176
 
177
  $exclude_tt_ids = wp_parse_id_list( $exclude );
178
- if ( count($exclude_tt_ids) || count($weight['tax']) || count($require_tax) ) {
179
  $newsql .= "left join $wpdb->term_relationships as terms on ( terms.object_id = $wpdb->posts.ID ) \n";
180
  }
181
 
@@ -203,7 +203,7 @@ abstract class YARPP_Cache {
203
  $newsql .= " and bit_or(terms.term_taxonomy_id in (" . join(',', $exclude_tt_ids) . ")) = 0";
204
  }
205
 
206
- foreach ( $require_tax as $tax => $number ) {
207
  $newsql .= ' and ' . $this->tax_criteria($reference_ID, $tax) . ' >= ' . intval($number);
208
  }
209
 
166
  $newsql .= " + (MATCH (post_title) AGAINST ('".$wpdb->escape($keywords['title'])."')) * ". absint($weight['title']);
167
 
168
  // Build tax criteria query parts based on the weights
169
+ foreach ( (array) $weight['tax'] as $tax => $weight ) {
170
  $newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($weight);
171
  }
172
 
175
  $newsql .= "\n from $wpdb->posts \n";
176
 
177
  $exclude_tt_ids = wp_parse_id_list( $exclude );
178
+ if ( count($exclude_tt_ids) || count((array) $weight['tax']) || count($require_tax) ) {
179
  $newsql .= "left join $wpdb->term_relationships as terms on ( terms.object_id = $wpdb->posts.ID ) \n";
180
  }
181
 
203
  $newsql .= " and bit_or(terms.term_taxonomy_id in (" . join(',', $exclude_tt_ids) . ")) = 0";
204
  }
205
 
206
+ foreach ( (array) $require_tax as $tax => $number ) {
207
  $newsql .= ' and ' . $this->tax_criteria($reference_ID, $tax) . ' >= ' . intval($number);
208
  }
209
 
class-core.php CHANGED
@@ -41,7 +41,7 @@ class YARPP {
41
 
42
  // automatic display hooks:
43
  add_filter( 'the_content', array( $this, 'the_content' ), 1200 );
44
- add_filter( 'the_content_rss', array( $this, 'the_content_rss' ), 600 );
45
  add_filter( 'the_excerpt_rss', array( $this, 'the_excerpt_rss' ), 600 );
46
 
47
  if ( isset($_REQUEST['yarpp_debug']) )
@@ -120,18 +120,20 @@ class YARPP {
120
  }
121
 
122
  $new_options = array_merge( $current_options, $options );
 
123
 
124
  // new in 3.1: clear cache when updating certain settings.
125
- $clear_cache_options = array( 'show_pass_post', 'recent', 'threshold' );
126
- $new_options_which_require_flush = array_intersect( array_keys( array_diff_assoc($options, $current_options) ), $clear_cache_options );
 
 
 
127
  if ( count($new_options_which_require_flush) ||
128
  ( $new_options['limit'] > $current_options['limit'] ) ||
129
  ( $new_options['weight'] != $current_options['weight'] ) ||
130
  ( $new_options['exclude'] != $current_options['exclude'] ) ||
131
  ( $new_options['require_tax'] != $current_options['require_tax'] ) )
132
  $this->cache->flush();
133
-
134
- update_option( 'yarpp', $new_options );
135
  }
136
 
137
  // 3.4b8: $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
@@ -405,9 +407,11 @@ class YARPP {
405
 
406
  // consolidate excludes, using tt_ids.
407
  $exclude_tt_ids = array();
408
- foreach ($options['exclude'] as $tax => $term_ids) {
409
- if ( !empty($term_ids) )
410
- $exclude_tt_ids = array_merge( wp_list_pluck(get_terms( $tax, array('include' => $term_ids) ), 'term_taxonomy_id'), $exclude_tt_ids );
 
 
411
  }
412
  $options['exclude'] = join(',', $exclude_tt_ids);
413
 
@@ -702,7 +706,7 @@ class YARPP {
702
  }
703
 
704
  public function parse_args( $args, $options ) {
705
- $options_with_rss_variants = array( 'limit', 'template', 'excerpt_length', 'before_title', 'after_title', 'before_post', 'after_post', 'before_related', 'after_related', 'no_results', 'order' );
706
 
707
  $r = array();
708
  foreach ( $options as $option ) {
@@ -758,8 +762,10 @@ class YARPP {
758
  */
759
 
760
  function the_content($content) {
761
- if (is_feed())
762
- return $this->the_content_rss($content);
 
 
763
 
764
  if ( $this->get_option('cross_relate') )
765
  $type = $this->get_post_types();
@@ -768,13 +774,13 @@ class YARPP {
768
  else
769
  $type = array( 'post' );
770
 
771
- if ( $this->get_option('auto_display') && is_single() )
772
- return $content . $this->display_related(null, array('post_type' => $type, 'domain' => 'website'), false);
773
- else
774
- return $content;
775
  }
776
 
777
- function the_content_rss($content) {
 
 
 
778
  if ( $this->get_option('cross_relate') )
779
  $type = $this->get_post_types();
780
  else if ( 'page' == get_post_type() )
@@ -782,13 +788,14 @@ class YARPP {
782
  else
783
  $type = array( 'post' );
784
 
785
- if ( $this->get_option('rss_display') )
786
- return $content . $this->display_related(null, array('post_type' => $type, 'domain' => 'rss'), false);
787
- else
788
- return $content;
789
  }
790
 
791
  function the_excerpt_rss($content) {
 
 
 
 
792
  if ( $this->get_option('cross_relate') )
793
  $type = $this->get_post_types();
794
  else if ( 'page' == get_post_type() )
@@ -796,10 +803,7 @@ class YARPP {
796
  else
797
  $type = array( 'post' );
798
 
799
- if ( $this->get_option('rss_excerpt_display') && $this->get_option('rss_display') )
800
- return $content . clean_pre($this->display_related(null, array('post_type' => $type, 'domain' => 'rss'), false));
801
- else
802
- return $content;
803
  }
804
 
805
  /*
@@ -820,4 +824,12 @@ class YARPP {
820
  }
821
  return $result;
822
  }
 
 
 
 
 
 
 
 
823
  }
41
 
42
  // automatic display hooks:
43
  add_filter( 'the_content', array( $this, 'the_content' ), 1200 );
44
+ add_filter( 'the_content_feed', array( $this, 'the_content_feed' ), 600 );
45
  add_filter( 'the_excerpt_rss', array( $this, 'the_excerpt_rss' ), 600 );
46
 
47
  if ( isset($_REQUEST['yarpp_debug']) )
120
  }
121
 
122
  $new_options = array_merge( $current_options, $options );
123
+ update_option( 'yarpp', $new_options );
124
 
125
  // new in 3.1: clear cache when updating certain settings.
126
+ $clear_cache_options = array( 'show_pass_post' => 1, 'recent' => 1, 'threshold' => 1 );
127
+
128
+ $relevant_options = array_intersect_key( $options, $clear_cache_options );
129
+ $relevant_current_options = array_intersect_key( $current_options, $clear_cache_options );
130
+ $new_options_which_require_flush = array_diff_assoc($relevant_options, $relevant_current_options);
131
  if ( count($new_options_which_require_flush) ||
132
  ( $new_options['limit'] > $current_options['limit'] ) ||
133
  ( $new_options['weight'] != $current_options['weight'] ) ||
134
  ( $new_options['exclude'] != $current_options['exclude'] ) ||
135
  ( $new_options['require_tax'] != $current_options['require_tax'] ) )
136
  $this->cache->flush();
 
 
137
  }
138
 
139
  // 3.4b8: $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
407
 
408
  // consolidate excludes, using tt_ids.
409
  $exclude_tt_ids = array();
410
+ if ( isset($options['exclude']) && is_array($options['exclude']) ) {
411
+ foreach ($options['exclude'] as $tax => $term_ids) {
412
+ if ( !empty($term_ids) )
413
+ $exclude_tt_ids = array_merge( wp_list_pluck(get_terms( $tax, array('include' => $term_ids) ), 'term_taxonomy_id'), $exclude_tt_ids );
414
+ }
415
  }
416
  $options['exclude'] = join(',', $exclude_tt_ids);
417
 
706
  }
707
 
708
  public function parse_args( $args, $options ) {
709
+ $options_with_rss_variants = array( 'limit', 'template', 'excerpt_length', 'before_title', 'after_title', 'before_post', 'after_post', 'before_related', 'after_related', 'no_results', 'order', 'promote_yarpp' );
710
 
711
  $r = array();
712
  foreach ( $options as $option ) {
762
  */
763
 
764
  function the_content($content) {
765
+ if ( is_feed() ||
766
+ !$this->get_option('auto_display') ||
767
+ !is_singular(array('post')) )
768
+ return $content;
769
 
770
  if ( $this->get_option('cross_relate') )
771
  $type = $this->get_post_types();
774
  else
775
  $type = array( 'post' );
776
 
777
+ return $content . $this->display_related(null, array('post_type' => $type, 'domain' => 'website'), false);
 
 
 
778
  }
779
 
780
+ function the_content_feed($content) {
781
+ if ( !$this->get_option('rss_display') )
782
+ return $content;
783
+
784
  if ( $this->get_option('cross_relate') )
785
  $type = $this->get_post_types();
786
  else if ( 'page' == get_post_type() )
788
  else
789
  $type = array( 'post' );
790
 
791
+ return $content . $this->display_related(null, array('post_type' => $type, 'domain' => 'rss'), false);
 
 
 
792
  }
793
 
794
  function the_excerpt_rss($content) {
795
+ if ( !$this->get_option('rss_excerpt_display') ||
796
+ !$this->get_option('rss_display') )
797
+ return $content;
798
+
799
  if ( $this->get_option('cross_relate') )
800
  $type = $this->get_post_types();
801
  else if ( 'page' == get_post_type() )
803
  else
804
  $type = array( 'post' );
805
 
806
+ return $content . $this->clean_pre($this->display_related(null, array('post_type' => $type, 'domain' => 'rss'), false));
 
 
 
807
  }
808
 
809
  /*
824
  }
825
  return $result;
826
  }
827
+
828
+ // 3.5.2: clean_pre is deprecated in WP 3.4, so implement here.
829
+ function clean_pre( $text ) {
830
+ $text = str_replace(array('<br />', '<br/>', '<br>'), array('', '', ''), $text);
831
+ $text = str_replace('<p>', "\n", $text);
832
+ $text = str_replace('</p>', '', $text);
833
+ return $text;
834
+ }
835
  }
lang/yarpp-nl_NL.mo CHANGED
Binary file
lang/yarpp-nl_NL.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Yet Another Related Posts Plugin v3.0.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2009-04-27 21:12+0200\n"
7
  "Last-Translator: admin <werf75@gmail.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -19,457 +19,380 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Textdomain-Support: yes"
21
 
22
- #: includes.php:149
23
- #: includes.php:194
24
- #: includes.php:215
25
  #@ yarpp
26
  msgid "Related Posts (YARPP)"
27
  msgstr "Gerelateerde bijdragen (YARPP)"
28
 
29
- #: includes.php:376
30
  #@ yarpp
31
  msgid "Related Posts"
32
  msgstr "Gerelateerde bijdragen"
33
 
34
- #: cache-postmeta.php:105
35
- #: cache-tables.php:131
36
  #@ yarpp
37
  msgid "Example post "
38
  msgstr "Voorbeeld bijdrage"
39
 
40
- #: magic.php:297
41
- #: options-meta-boxes.php:205
42
- #: options-meta-boxes.php:269
 
43
  #, php-format
44
  #@ yarpp
45
  msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
46
  msgstr "Gerelateerde bijdragen mogelijk gemaakt door <a href='%s'>Yet Another Related Posts Plugin</a>."
47
 
48
- #: options.php:54
49
  #@ yarpp
50
  msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
51
  msgstr "De MyISAM controle is overgeslagen. Je kunt nu de \"overweeg titels\" en \"overweeg bijdrage\" criteria relateren."
52
 
53
- #: options.php:63
54
  #, php-format
55
  #@ yarpp
56
  msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
57
  msgstr "YARPP's \"Overweeg titels\" en \"overweeg bijdragen\" gerelateerdheidscriteria vereisen je <code>%s</code> tabel om de <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM engine</a> te gebruiken, maar de tabel lijkt de <code>%s</code> engine te gebruiken. Deze twee opties zijn uitgeschakeld."
58
 
59
- #: options.php:65
60
  #, php-format
61
  #@ yarpp
62
  msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
63
  msgstr "Om de mogelijkheden te herstellen, werk je <code>%s</code> tabel bij door het volgende SQL uit te voeren:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code> .Er zullen geen gegevens gewist worden door de tabel-engine te wijzigen, maar er kunnen snelheidsproblemen optreden. "
64
 
65
- #: options.php:67
66
  #, php-format
67
  #@ yarpp
68
  msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
69
  msgstr "Als, ondanks deze controle, je zeker bent dat <code>%s</code> gebruikt maakt van de MyISAM engine, klik op de magische knop:"
70
 
71
- #: options.php:70
72
  #@ yarpp
73
  msgid "Trust me. Let me use MyISAM features."
74
  msgstr "Vertrouw me. Laat mij MyISAM mogelijkheden gebruiken."
75
 
76
- #: options.php:83
77
  #@ yarpp
78
  msgid "The YARPP database had an error but has been fixed."
79
  msgstr "De YARPP database had een foutje maar is hersteld."
80
 
81
- #: options.php:85
82
  #@ yarpp
83
  msgid "The YARPP database has an error which could not be fixed."
84
  msgstr "De YARPP database heeft en fout die niet opgelost kon worden."
85
 
86
- #: options.php:114
87
  #@ yarpp
88
  msgid "Options saved!"
89
  msgstr "Instellingen opgeslagen!"
90
 
91
- #: options-meta-boxes.php:38
92
- #@ yarpp
93
- msgid "word"
94
- msgstr "woord"
95
-
96
- #: options-meta-boxes.php:39
97
- #@ yarpp
98
- msgid "tag"
99
- msgstr "label"
100
-
101
- #: options-meta-boxes.php:40
102
- #@ yarpp
103
- msgid "category"
104
- msgstr "categorie"
105
-
106
- #: options-meta-boxes.php:45
107
- #: options-meta-boxes.php:63
108
- #: options-meta-boxes.php:76
109
  #@ yarpp
110
  msgid "do not consider"
111
  msgstr "overweeg niet"
112
 
113
- #: options-meta-boxes.php:46
114
- #: options-meta-boxes.php:64
115
- #: options-meta-boxes.php:78
116
  #@ yarpp
117
  msgid "consider"
118
  msgstr "overweeg"
119
 
120
- #: options-meta-boxes.php:48
121
- #: options-meta-boxes.php:80
122
  #, php-format
123
  #@ yarpp
124
  msgid "require at least one %s in common"
125
  msgstr "ten minste een % s overeenkomstig"
126
 
127
- #: options-meta-boxes.php:50
128
- #: options-meta-boxes.php:82
129
  #, php-format
130
  #@ yarpp
131
  msgid "require more than one %s in common"
132
  msgstr "vereist meer dan een % s overeenkomstig"
133
 
134
- #: options-meta-boxes.php:65
 
135
  #@ yarpp
136
  msgid "consider with extra weight"
137
  msgstr "overweeg met extra gewicht"
138
 
139
- #: options.php:178
140
  #@ yarpp
141
  msgid "Yet Another Related Posts Plugin Options"
142
  msgstr "Yet Another Related Posts Plugin opties"
143
 
144
- #: options-meta-boxes.php:286
145
  #@ default
146
  #@ yarpp
147
  msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
148
  msgstr "Doneer mitcho (Michael Yoshitaka Erlewine) voor deze plugin via PayPal"
149
 
150
- #: options-meta-boxes.php:118
151
  #@ yarpp
152
  msgid "\"The Pool\""
153
  msgstr "\"Het zwembad\""
154
 
155
- #: options-meta-boxes.php:91
156
  #@ yarpp
157
  msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
158
  msgstr "\"Het zwembad\" verwijst naar het bad met bijdragen en pagina's die kandidaat zijn voor het vertonen als gerelateerd."
159
 
160
- #: options-meta-boxes.php:96
161
- #@ yarpp
162
- msgid "Disallow by category:"
163
- msgstr "Uitschakelen per categorie:"
164
-
165
- #: options-meta-boxes.php:98
166
- #@ yarpp
167
- msgid "Disallow by tag:"
168
- msgstr "Uitschakelen bij label:"
169
-
170
- #: options-meta-boxes.php:101
171
  #@ yarpp
172
  msgid "Show password protected posts?"
173
  msgstr "Toon paswoordbeveiligde bijdragen?"
174
 
175
- #: options-meta-boxes.php:140
176
  #@ yarpp
177
  msgid "Show only previous posts?"
178
  msgstr "Toon alleen vorige bijdragen?"
179
 
180
- #: options-meta-boxes.php:105
181
  #@ yarpp
182
  msgid "day(s)"
183
  msgstr "dag (en)"
184
 
185
- #: options-meta-boxes.php:106
186
  #@ yarpp
187
  msgid "week(s)"
188
  msgstr "we(e)k(en)"
189
 
190
- #: options-meta-boxes.php:107
191
  #@ yarpp
192
  msgid "month(s)"
193
  msgstr "maand (en)"
194
 
195
- #: options-meta-boxes.php:109
196
  #@ yarpp
197
  msgid "Show only posts from the past NUMBER UNITS"
198
- msgstr "Toon alleen bijdragen van de afgelopen AANTAL EENHEDEN"
199
 
200
- #: options-meta-boxes.php:148
201
  #@ yarpp
202
  msgid "\"Relatedness\" options"
203
  msgstr "\"Gerelateerdheid\" opties"
204
 
205
- #: options-meta-boxes.php:124
206
- #: options-meta-boxes.php:139
207
- #: options-meta-boxes.php:157
208
- #: options-meta-boxes.php:161
209
- #: options-meta-boxes.php:204
210
- #: options-meta-boxes.php:221
211
- #: options-meta-boxes.php:223
212
  #: options-meta-boxes.php:228
213
- #: options-meta-boxes.php:268
 
 
214
  #@ yarpp
215
  msgid "more&gt;"
216
  msgstr "meer&gt;"
217
 
218
- #: options-meta-boxes.php:124
219
  #@ yarpp
220
  msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
221
  msgstr "Hoe hoger de overeenkomstdrempel hoe meer restricties en hoe minder gerelateerde bijdragen. De standaard overeenkomstdrempel is 5. Als je zoekt naar een goede drempel bekijk dan enkele gerelateerde bijdragen van de bijdragen en de scores. Je kunt zien wat voor soort gerelateerde er zijn opgepikt, wat de soort overeenkomst is en zo een juiste drempel instellen voor je website."
222
 
223
- #: options-meta-boxes.php:130
224
  #@ yarpp
225
  msgid "Match threshold:"
226
  msgstr "Overeenkomst-drempel:"
227
 
228
- #: options-meta-boxes.php:131
229
  #@ yarpp
230
  msgid "Titles: "
231
- msgstr "Titels:"
232
 
233
- #: options-meta-boxes.php:133
234
  #@ yarpp
235
  msgid "Bodies: "
236
- msgstr "Bijdragen:"
237
-
238
- #: options-meta-boxes.php:135
239
- #@ yarpp
240
- msgid "Tags: "
241
- msgstr "Labels:"
242
-
243
- #: options-meta-boxes.php:137
244
- #@ yarpp
245
- msgid "Categories: "
246
- msgstr "Categorieën:"
247
-
248
- #: options-meta-boxes.php:139
249
- #@ yarpp
250
- msgid "Cross-relate posts and pages?"
251
- msgstr "Kruislinken van bijdragen en pagina&#39;s?"
252
-
253
- #: options-meta-boxes.php:139
254
- #@ yarpp
255
- msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
256
- msgstr "Wanneer de \"Kruislinken van bijdragen en pagina&#39;s\" optie is ingeschakeld <code>related_posts()</code>, <code>related_pages()</code> en <code>related_entries()</code> zullen allemaal dezelfde uitkomst geven en zowel gerelateerde pagina&#39;s a;s bijdragen tonen."
257
 
258
- #: options.php:46
259
  #, php-format
260
  #@ yarpp
261
  msgid "There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a href=\"%s\">download it here</a> at your own risk."
262
  msgstr "Er is een nieuwe beta (%s) van Yet Another Related Posts Plugin. Je kunt het <a href=\"%s\">Hier downloaden</a> op eigen risico."
263
 
264
- #: options-meta-boxes.php:212
265
  #@ yarpp
266
  msgid "Display options <small>for your website</small>"
267
  msgstr "Toon opties <small> voor je website </small>"
268
 
269
- #: options-meta-boxes.php:157
270
  #@ yarpp
271
  msgid "Automatically display related posts?"
272
  msgstr "Automatisch gerelateerde bijdragen tonen?"
273
 
274
- #: options-meta-boxes.php:157
275
  #@ yarpp
276
  msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
277
  msgstr "Deze optie toont automatisch gerelateerde bijdragen meteen na de inhoud van een bijdrage op een enkele pagina. Als deze optie is uitgeschakeld zul je de voglende code handmatig in moeten voegen: <code>related_posts()</code> of variaties (<code>related_pages()</code> en <code>related_entries()</code>) in je themabestanden."
278
 
279
- #: options-meta-boxes.php:158
280
  #@ yarpp
281
  msgid "Website display code example"
282
  msgstr "Websitevertoning code voorbeeld"
283
 
284
- #: options-meta-boxes.php:158
285
- #: options-meta-boxes.php:221
286
  #@ yarpp
287
  msgid "(Update options to reload.)"
288
  msgstr "(Bewaar opties om te herladen.)"
289
 
290
- #: options-meta-boxes.php:160
291
- #: options-meta-boxes.php:226
292
  #@ yarpp
293
  msgid "Maximum number of related posts:"
294
  msgstr "Maximum aantal gerelateerde bijdragen:"
295
 
296
- #: includes.php:248
297
- #: options-meta-boxes.php:161
298
- #: options-meta-boxes.php:228
299
  #@ yarpp
300
  msgid "Display using a custom template file"
301
  msgstr "Toon met een eigen sjabloonbestand"
302
 
303
- #: options-meta-boxes.php:228
304
- #@ yarpp
305
- msgid "NEW!"
306
- msgstr "NIEUW!"
307
-
308
- #: options-meta-boxes.php:161
309
- #: options-meta-boxes.php:228
310
  #@ yarpp
311
  msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
312
  msgstr "Deze uitgebreide opties geeft je volledige kracht om te kiezen hoe de gerelateerde bijdragen getoond worden. Sjablonen (opgeslagen in de map van je thema) zijn geschreven in PHP."
313
 
314
- #: includes.php:249
315
- #: options-meta-boxes.php:165
316
- #: options-meta-boxes.php:233
317
  #@ yarpp
318
  msgid "Template file:"
319
  msgstr "Sjabloonbestand:"
320
 
321
- #: options-meta-boxes.php:175
322
- #: options-meta-boxes.php:244
323
  #@ yarpp
324
  msgid "Before / after related entries:"
325
  msgstr "Voor / na gerelateerde bijdrages:"
326
 
327
- #: options-meta-boxes.php:175
328
- #: options-meta-boxes.php:176
329
- #: options-meta-boxes.php:184
330
- #: options-meta-boxes.php:244
331
- #: options-meta-boxes.php:245
332
- #: options-meta-boxes.php:250
333
  #@ yarpp
334
  msgid "For example:"
335
  msgstr "Bijvoorbeeld:"
336
 
337
- #: options-meta-boxes.php:176
338
- #: options-meta-boxes.php:245
339
  #@ yarpp
340
  msgid "Before / after each related entry:"
341
  msgstr "Voor / na elke gerelateerde bijdrage:"
342
 
343
- #: options-meta-boxes.php:178
344
- #: options-meta-boxes.php:247
345
  #@ yarpp
346
  msgid "Show excerpt?"
347
  msgstr "Toon uittreksel?"
348
 
349
- #: options-meta-boxes.php:179
350
- #: options-meta-boxes.php:248
351
  #@ yarpp
352
  msgid "Excerpt length (No. of words):"
353
  msgstr "Lengte uittreksel (aantal woorden):"
354
 
355
- #: options-meta-boxes.php:183
356
  #@ yarpp
357
  msgid "Before / after (Excerpt):"
358
  msgstr "Voor / na (uittreksel):"
359
 
360
- #: options-meta-boxes.php:189
361
- #: options-meta-boxes.php:254
362
  #@ yarpp
363
  msgid "Order results:"
364
  msgstr "Sorteer resultaten:"
365
 
366
- #: options-meta-boxes.php:191
367
- #: options-meta-boxes.php:256
368
  #@ yarpp
369
  msgid "score (high relevance to low)"
370
  msgstr "Waardering (hoge naar lage relevantie)"
371
 
372
- #: options-meta-boxes.php:192
373
- #: options-meta-boxes.php:257
374
  #@ yarpp
375
  msgid "score (low relevance to high)"
376
  msgstr "Waardering (lage naar hoge relevantie)"
377
 
378
- #: options-meta-boxes.php:193
379
- #: options-meta-boxes.php:258
380
  #@ yarpp
381
  msgid "date (new to old)"
382
  msgstr "datum (nieuw naar oud)"
383
 
384
- #: options-meta-boxes.php:194
385
- #: options-meta-boxes.php:259
386
  #@ yarpp
387
  msgid "date (old to new)"
388
  msgstr "datum (oud naar nieuw)"
389
 
390
- #: options-meta-boxes.php:195
391
- #: options-meta-boxes.php:260
392
  #@ yarpp
393
  msgid "title (alphabetical)"
394
  msgstr "titel (alfabetisch)"
395
 
396
- #: options-meta-boxes.php:196
397
- #: options-meta-boxes.php:261
398
  #@ yarpp
399
  msgid "title (reverse alphabetical)"
400
  msgstr "titel (omgekeerd alfabetisch)"
401
 
402
- #: options-meta-boxes.php:201
403
- #: options-meta-boxes.php:266
404
  #@ yarpp
405
  msgid "Default display if no results:"
406
  msgstr "Standaard tonen indien geen resultaten:"
407
 
408
- #: includes.php:257
409
- #: options-meta-boxes.php:203
410
- #: options-meta-boxes.php:268
411
  #@ yarpp
412
  msgid "Help promote Yet Another Related Posts Plugin?"
413
  msgstr "Help Yet Another Related Posts Plugin promoten?"
414
 
415
- #: options-meta-boxes.php:205
416
- #: options-meta-boxes.php:269
417
  #, php-format
418
  #@ yarpp
419
  msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
420
  msgstr "Deze optie voegt de code %s toe. Probeer het aan te zetten, je opties bij te werken en zie de code in het codevoorbeeld rechts. Deze links en donaties worden gewaardeerd."
421
 
422
- #: options-meta-boxes.php:276
423
  #@ yarpp
424
  msgid "Display options <small>for RSS</small>"
425
  msgstr "Vertoningsopties <small>voor RSS</small>"
426
 
427
- #: options-meta-boxes.php:221
428
  #@ yarpp
429
  msgid "Display related posts in feeds?"
430
  msgstr "Toon gerelateerde bijdragen in feeds?"
431
 
432
- #: options-meta-boxes.php:221
433
  #@ yarpp
434
  msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
435
  msgstr "Deze optie toont gerelateerde bijdragen aan het einde van ieder item in je RSS en ATOM feeds. Sjabloonwijzigingen niet nodig."
436
 
437
- #: options-meta-boxes.php:223
438
  #@ yarpp
439
  msgid "Display related posts in the descriptions?"
440
  msgstr "Toon gerelateerde bijdragen in de omschrijving?"
441
 
442
- #: options-meta-boxes.php:223
443
  #@ yarpp
444
  msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
445
  msgstr "Deze optie toont de gerelateerde bijdragen in de RSS beschrijving, niet alleen de inhoud. Als je feed is ingesteld om alleen uittreksels te tonen, hoe dan ook, alleen het omschrijvingsveld wordt gebruikt, dus deze optie is vereist voor iedere vertoning."
446
 
447
- #: options-meta-boxes.php:221
448
  #@ yarpp
449
  msgid "RSS display code example"
450
  msgstr "Voorbeeld RSS-vertoningscode "
451
 
452
- #: options-meta-boxes.php:250
453
  #@ yarpp
454
  msgid "Before / after (excerpt):"
455
  msgstr "Voor / na (uittreksel):"
456
 
457
- #: options.php:279
458
- #@ yarpp
459
- msgid "Update options"
460
- msgstr "Opties bijwerken"
461
-
462
- #: options.php:280
463
- #@ yarpp
464
- msgid "Do you really want to reset your configuration?"
465
- msgstr "Wil je echt de instellingen herstellen?"
466
-
467
- #: options.php:280
468
- #@ yarpp
469
- msgid "Reset options"
470
- msgstr "Opties herstellen"
471
-
472
- #: template-builtin.php:35
473
  #, php-format
474
  #@ yarpp
475
  msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
@@ -480,90 +403,140 @@ msgstr "%f is de YARPP overeenkomst tussen de huidige bijdrage en de gerelateerd
480
  msgid "These are the related entries for this entry. Updating this post may change these related posts."
481
  msgstr "Er zijn gerelateerde bijdragen voor deze bijdrage. Het bijwerken van deze bijdrage kan de gerelateerde bijdragen veranderen."
482
 
483
- #: template-metabox.php:25
484
  #@ yarpp
485
  msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
486
  msgstr "Of al deze gelateerde bijdragen getoond worden op de manier zoals je ze getoond wilt hebben hangt af van je YARPP instellingen."
487
 
488
- #: includes.php:28
489
- #: includes.php:39
490
- #: template-metabox.php:27
 
 
491
  #: template-widget.php:13
492
  #@ yarpp
493
  msgid "No related posts."
494
  msgstr "Geen gerelateerde bijdragen."
495
 
496
- #: includes.php:26
497
- #: includes.php:37
 
 
498
  #@ yarpp
499
  msgid "Related posts:"
500
  msgstr "Gerelateerde bijdragen"
501
 
502
- #: options-meta-boxes.php:175
503
- #: options-meta-boxes.php:176
504
- #: options-meta-boxes.php:184
505
- #: options-meta-boxes.php:244
506
- #: options-meta-boxes.php:245
507
- #: options-meta-boxes.php:250
508
  #@ yarpp
509
  msgid " or "
510
- msgstr "of"
511
 
512
- #: includes.php:169
513
- #@ yarpp
514
  msgid "Settings"
515
  msgstr ""
516
 
517
- #: includes.php:243
518
  #@ default
519
  msgid "Title:"
520
  msgstr ""
521
 
522
- #: includes.php:385
523
  #@ yarpp
524
  msgid "Related entries may be displayed once you save your entry"
525
  msgstr ""
526
 
527
- #: options-meta-boxes.php:124
528
  #@ yarpp
529
  msgid "YARPP limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
530
  msgstr ""
531
 
532
- #: options-meta-boxes.php:283
533
  #@ yarpp
534
  msgid "YARPP Forum"
535
  msgstr ""
536
 
537
- #: options-meta-boxes.php:284
538
  #@ yarpp
539
  msgid "YARPP on Twitter"
540
  msgstr ""
541
 
542
- #: options-meta-boxes.php:285
543
  #@ yarpp
544
  msgid "YARPP on the Web"
545
  msgstr ""
546
 
547
- #: options-meta-boxes.php:292
548
  #@ yarpp
549
  msgid "Contact YARPP"
550
  msgstr ""
551
 
552
- #: options.php:42
553
  #, php-format
554
  #@ default
555
  msgid "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update automatically</a>."
556
  msgstr ""
557
 
558
- #: options.php:86
559
  #, php-format
560
  #@ yarpp
561
  msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
562
  msgstr ""
563
 
564
- #: options.php:188
565
  #, php-format
566
  #@ yarpp
567
  msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
568
  msgstr ""
569
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Yet Another Related Posts Plugin v3.5.2b3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2012-08-24 10:22:57+0000\n"
7
  "Last-Translator: admin <werf75@gmail.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Textdomain-Support: yes"
21
 
22
+ #: class-admin.php:55
23
+ #: class-widget.php:7
24
+ #: class-widget.php:59
25
  #@ yarpp
26
  msgid "Related Posts (YARPP)"
27
  msgstr "Gerelateerde bijdragen (YARPP)"
28
 
29
+ #: class-admin.php:63
30
  #@ yarpp
31
  msgid "Related Posts"
32
  msgstr "Gerelateerde bijdragen"
33
 
34
+ #: class-cache.php:522
 
35
  #@ yarpp
36
  msgid "Example post "
37
  msgstr "Voorbeeld bijdrage"
38
 
39
+ #: class-core.php:586
40
+ #: class-core.php:701
41
+ #: options-meta-boxes.php:229
42
+ #: options-meta-boxes.php:284
43
  #, php-format
44
  #@ yarpp
45
  msgid "Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>."
46
  msgstr "Gerelateerde bijdragen mogelijk gemaakt door <a href='%s'>Yet Another Related Posts Plugin</a>."
47
 
48
+ #: options.php:46
49
  #@ yarpp
50
  msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
51
  msgstr "De MyISAM controle is overgeslagen. Je kunt nu de \"overweeg titels\" en \"overweeg bijdrage\" criteria relateren."
52
 
53
+ #: options.php:54
54
  #, php-format
55
  #@ yarpp
56
  msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
57
  msgstr "YARPP's \"Overweeg titels\" en \"overweeg bijdragen\" gerelateerdheidscriteria vereisen je <code>%s</code> tabel om de <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM engine</a> te gebruiken, maar de tabel lijkt de <code>%s</code> engine te gebruiken. Deze twee opties zijn uitgeschakeld."
58
 
59
+ #: options.php:56
60
  #, php-format
61
  #@ yarpp
62
  msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
63
  msgstr "Om de mogelijkheden te herstellen, werk je <code>%s</code> tabel bij door het volgende SQL uit te voeren:<code>ALTER TABLE `%s` ENGINE = MyISAM;</code> .Er zullen geen gegevens gewist worden door de tabel-engine te wijzigen, maar er kunnen snelheidsproblemen optreden. "
64
 
65
+ #: options.php:58
66
  #, php-format
67
  #@ yarpp
68
  msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
69
  msgstr "Als, ondanks deze controle, je zeker bent dat <code>%s</code> gebruikt maakt van de MyISAM engine, klik op de magische knop:"
70
 
71
+ #: options.php:61
72
  #@ yarpp
73
  msgid "Trust me. Let me use MyISAM features."
74
  msgstr "Vertrouw me. Laat mij MyISAM mogelijkheden gebruiken."
75
 
76
+ #: options.php:76
77
  #@ yarpp
78
  msgid "The YARPP database had an error but has been fixed."
79
  msgstr "De YARPP database had een foutje maar is hersteld."
80
 
81
+ #: options.php:78
82
  #@ yarpp
83
  msgid "The YARPP database has an error which could not be fixed."
84
  msgstr "De YARPP database heeft en fout die niet opgelost kon worden."
85
 
86
+ #: options.php:135
87
  #@ yarpp
88
  msgid "Options saved!"
89
  msgstr "Instellingen opgeslagen!"
90
 
91
+ #: options-meta-boxes.php:47
92
+ #: options-meta-boxes.php:59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  #@ yarpp
94
  msgid "do not consider"
95
  msgstr "overweeg niet"
96
 
97
+ #: options-meta-boxes.php:48
98
+ #: options-meta-boxes.php:60
 
99
  #@ yarpp
100
  msgid "consider"
101
  msgstr "overweeg"
102
 
103
+ #: options-meta-boxes.php:50
 
104
  #, php-format
105
  #@ yarpp
106
  msgid "require at least one %s in common"
107
  msgstr "ten minste een % s overeenkomstig"
108
 
109
+ #: options-meta-boxes.php:51
 
110
  #, php-format
111
  #@ yarpp
112
  msgid "require more than one %s in common"
113
  msgstr "vereist meer dan een % s overeenkomstig"
114
 
115
+ #: options-meta-boxes.php:49
116
+ #: options-meta-boxes.php:61
117
  #@ yarpp
118
  msgid "consider with extra weight"
119
  msgstr "overweeg met extra gewicht"
120
 
121
+ #: options.php:141
122
  #@ yarpp
123
  msgid "Yet Another Related Posts Plugin Options"
124
  msgstr "Yet Another Related Posts Plugin opties"
125
 
126
+ #: options-meta-boxes.php:302
127
  #@ default
128
  #@ yarpp
129
  msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
130
  msgstr "Doneer mitcho (Michael Yoshitaka Erlewine) voor deze plugin via PayPal"
131
 
132
+ #: options-meta-boxes.php:147
133
  #@ yarpp
134
  msgid "\"The Pool\""
135
  msgstr "\"Het zwembad\""
136
 
137
+ #: options-meta-boxes.php:109
138
  #@ yarpp
139
  msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
140
  msgstr "\"Het zwembad\" verwijst naar het bad met bijdragen en pagina's die kandidaat zijn voor het vertonen als gerelateerd."
141
 
142
+ #: options-meta-boxes.php:118
 
 
 
 
 
 
 
 
 
 
143
  #@ yarpp
144
  msgid "Show password protected posts?"
145
  msgstr "Toon paswoordbeveiligde bijdragen?"
146
 
147
+ #: options-meta-boxes.php:170
148
  #@ yarpp
149
  msgid "Show only previous posts?"
150
  msgstr "Toon alleen vorige bijdragen?"
151
 
152
+ #: options-meta-boxes.php:129
153
  #@ yarpp
154
  msgid "day(s)"
155
  msgstr "dag (en)"
156
 
157
+ #: options-meta-boxes.php:130
158
  #@ yarpp
159
  msgid "week(s)"
160
  msgstr "we(e)k(en)"
161
 
162
+ #: options-meta-boxes.php:131
163
  #@ yarpp
164
  msgid "month(s)"
165
  msgstr "maand (en)"
166
 
167
+ #: options-meta-boxes.php:137
168
  #@ yarpp
169
  msgid "Show only posts from the past NUMBER UNITS"
170
+ msgstr "Toon alleen bijdragen van de afgelopen NUMBER UNITS"
171
 
172
+ #: options-meta-boxes.php:178
173
  #@ yarpp
174
  msgid "\"Relatedness\" options"
175
  msgstr "\"Gerelateerdheid\" opties"
176
 
177
+ #: options-meta-boxes.php:17
178
+ #: options-meta-boxes.php:113
179
+ #: options-meta-boxes.php:153
180
+ #: options-meta-boxes.php:169
181
+ #: options-meta-boxes.php:187
 
 
182
  #: options-meta-boxes.php:228
183
+ #: options-meta-boxes.php:245
184
+ #: options-meta-boxes.php:247
185
+ #: options-meta-boxes.php:283
186
  #@ yarpp
187
  msgid "more&gt;"
188
  msgstr "meer&gt;"
189
 
190
+ #: options-meta-boxes.php:153
191
  #@ yarpp
192
  msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
193
  msgstr "Hoe hoger de overeenkomstdrempel hoe meer restricties en hoe minder gerelateerde bijdragen. De standaard overeenkomstdrempel is 5. Als je zoekt naar een goede drempel bekijk dan enkele gerelateerde bijdragen van de bijdragen en de scores. Je kunt zien wat voor soort gerelateerde er zijn opgepikt, wat de soort overeenkomst is en zo een juiste drempel instellen voor je website."
194
 
195
+ #: options-meta-boxes.php:159
196
  #@ yarpp
197
  msgid "Match threshold:"
198
  msgstr "Overeenkomst-drempel:"
199
 
200
+ #: options-meta-boxes.php:160
201
  #@ yarpp
202
  msgid "Titles: "
203
+ msgstr "Titels: "
204
 
205
+ #: options-meta-boxes.php:162
206
  #@ yarpp
207
  msgid "Bodies: "
208
+ msgstr "Bijdragen: "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
 
210
+ #: options.php:38
211
  #, php-format
212
  #@ yarpp
213
  msgid "There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a href=\"%s\">download it here</a> at your own risk."
214
  msgstr "Er is een nieuwe beta (%s) van Yet Another Related Posts Plugin. Je kunt het <a href=\"%s\">Hier downloaden</a> op eigen risico."
215
 
216
+ #: options-meta-boxes.php:236
217
  #@ yarpp
218
  msgid "Display options <small>for your website</small>"
219
  msgstr "Toon opties <small> voor je website </small>"
220
 
221
+ #: options-meta-boxes.php:187
222
  #@ yarpp
223
  msgid "Automatically display related posts?"
224
  msgstr "Automatisch gerelateerde bijdragen tonen?"
225
 
226
+ #: options-meta-boxes.php:187
227
  #@ yarpp
228
  msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
229
  msgstr "Deze optie toont automatisch gerelateerde bijdragen meteen na de inhoud van een bijdrage op een enkele pagina. Als deze optie is uitgeschakeld zul je de voglende code handmatig in moeten voegen: <code>related_posts()</code> of variaties (<code>related_pages()</code> en <code>related_entries()</code>) in je themabestanden."
230
 
231
+ #: options-meta-boxes.php:188
232
  #@ yarpp
233
  msgid "Website display code example"
234
  msgstr "Websitevertoning code voorbeeld"
235
 
236
+ #: options-meta-boxes.php:188
237
+ #: options-meta-boxes.php:245
238
  #@ yarpp
239
  msgid "(Update options to reload.)"
240
  msgstr "(Bewaar opties om te herladen.)"
241
 
242
+ #: options-meta-boxes.php:190
243
+ #: options-meta-boxes.php:250
244
  #@ yarpp
245
  msgid "Maximum number of related posts:"
246
  msgstr "Maximum aantal gerelateerde bijdragen:"
247
 
248
+ #: class-widget.php:75
249
+ #: options-meta-boxes.php:17
 
250
  #@ yarpp
251
  msgid "Display using a custom template file"
252
  msgstr "Toon met een eigen sjabloonbestand"
253
 
254
+ #: options-meta-boxes.php:17
 
 
 
 
 
 
255
  #@ yarpp
256
  msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
257
  msgstr "Deze uitgebreide opties geeft je volledige kracht om te kiezen hoe de gerelateerde bijdragen getoond worden. Sjablonen (opgeslagen in de map van je thema) zijn geschreven in PHP."
258
 
259
+ #: class-widget.php:76
260
+ #: options-meta-boxes.php:196
261
+ #: options-meta-boxes.php:258
262
  #@ yarpp
263
  msgid "Template file:"
264
  msgstr "Sjabloonbestand:"
265
 
266
+ #: options-meta-boxes.php:208
267
+ #: options-meta-boxes.php:271
268
  #@ yarpp
269
  msgid "Before / after related entries:"
270
  msgstr "Voor / na gerelateerde bijdrages:"
271
 
272
+ #: options-meta-boxes.php:208
273
+ #: options-meta-boxes.php:209
274
+ #: options-meta-boxes.php:217
275
+ #: options-meta-boxes.php:271
276
+ #: options-meta-boxes.php:272
277
+ #: options-meta-boxes.php:277
278
  #@ yarpp
279
  msgid "For example:"
280
  msgstr "Bijvoorbeeld:"
281
 
282
+ #: options-meta-boxes.php:209
283
+ #: options-meta-boxes.php:272
284
  #@ yarpp
285
  msgid "Before / after each related entry:"
286
  msgstr "Voor / na elke gerelateerde bijdrage:"
287
 
288
+ #: options-meta-boxes.php:211
289
+ #: options-meta-boxes.php:274
290
  #@ yarpp
291
  msgid "Show excerpt?"
292
  msgstr "Toon uittreksel?"
293
 
294
+ #: options-meta-boxes.php:212
295
+ #: options-meta-boxes.php:275
296
  #@ yarpp
297
  msgid "Excerpt length (No. of words):"
298
  msgstr "Lengte uittreksel (aantal woorden):"
299
 
300
+ #: options-meta-boxes.php:216
301
  #@ yarpp
302
  msgid "Before / after (Excerpt):"
303
  msgstr "Voor / na (uittreksel):"
304
 
305
+ #: options-meta-boxes.php:68
 
306
  #@ yarpp
307
  msgid "Order results:"
308
  msgstr "Sorteer resultaten:"
309
 
310
+ #: options-meta-boxes.php:71
 
311
  #@ yarpp
312
  msgid "score (high relevance to low)"
313
  msgstr "Waardering (hoge naar lage relevantie)"
314
 
315
+ #: options-meta-boxes.php:72
 
316
  #@ yarpp
317
  msgid "score (low relevance to high)"
318
  msgstr "Waardering (lage naar hoge relevantie)"
319
 
320
+ #: options-meta-boxes.php:73
 
321
  #@ yarpp
322
  msgid "date (new to old)"
323
  msgstr "datum (nieuw naar oud)"
324
 
325
+ #: options-meta-boxes.php:74
 
326
  #@ yarpp
327
  msgid "date (old to new)"
328
  msgstr "datum (oud naar nieuw)"
329
 
330
+ #: options-meta-boxes.php:75
 
331
  #@ yarpp
332
  msgid "title (alphabetical)"
333
  msgstr "titel (alfabetisch)"
334
 
335
+ #: options-meta-boxes.php:76
 
336
  #@ yarpp
337
  msgid "title (reverse alphabetical)"
338
  msgstr "titel (omgekeerd alfabetisch)"
339
 
340
+ #: options-meta-boxes.php:224
341
+ #: options-meta-boxes.php:281
342
  #@ yarpp
343
  msgid "Default display if no results:"
344
  msgstr "Standaard tonen indien geen resultaten:"
345
 
346
+ #: class-widget.php:98
347
+ #: options-meta-boxes.php:227
348
+ #: options-meta-boxes.php:283
349
  #@ yarpp
350
  msgid "Help promote Yet Another Related Posts Plugin?"
351
  msgstr "Help Yet Another Related Posts Plugin promoten?"
352
 
353
+ #: options-meta-boxes.php:229
354
+ #: options-meta-boxes.php:284
355
  #, php-format
356
  #@ yarpp
357
  msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
358
  msgstr "Deze optie voegt de code %s toe. Probeer het aan te zetten, je opties bij te werken en zie de code in het codevoorbeeld rechts. Deze links en donaties worden gewaardeerd."
359
 
360
+ #: options-meta-boxes.php:291
361
  #@ yarpp
362
  msgid "Display options <small>for RSS</small>"
363
  msgstr "Vertoningsopties <small>voor RSS</small>"
364
 
365
+ #: options-meta-boxes.php:245
366
  #@ yarpp
367
  msgid "Display related posts in feeds?"
368
  msgstr "Toon gerelateerde bijdragen in feeds?"
369
 
370
+ #: options-meta-boxes.php:245
371
  #@ yarpp
372
  msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
373
  msgstr "Deze optie toont gerelateerde bijdragen aan het einde van ieder item in je RSS en ATOM feeds. Sjabloonwijzigingen niet nodig."
374
 
375
+ #: options-meta-boxes.php:247
376
  #@ yarpp
377
  msgid "Display related posts in the descriptions?"
378
  msgstr "Toon gerelateerde bijdragen in de omschrijving?"
379
 
380
+ #: options-meta-boxes.php:247
381
  #@ yarpp
382
  msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
383
  msgstr "Deze optie toont de gerelateerde bijdragen in de RSS beschrijving, niet alleen de inhoud. Als je feed is ingesteld om alleen uittreksels te tonen, hoe dan ook, alleen het omschrijvingsveld wordt gebruikt, dus deze optie is vereist voor iedere vertoning."
384
 
385
+ #: options-meta-boxes.php:245
386
  #@ yarpp
387
  msgid "RSS display code example"
388
  msgstr "Voorbeeld RSS-vertoningscode "
389
 
390
+ #: options-meta-boxes.php:277
391
  #@ yarpp
392
  msgid "Before / after (excerpt):"
393
  msgstr "Voor / na (uittreksel):"
394
 
395
+ #: template-builtin.php:21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  #, php-format
397
  #@ yarpp
398
  msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
403
  msgid "These are the related entries for this entry. Updating this post may change these related posts."
404
  msgstr "Er zijn gerelateerde bijdragen voor deze bijdrage. Het bijwerken van deze bijdrage kan de gerelateerde bijdragen veranderen."
405
 
406
+ #: template-metabox.php:28
407
  #@ yarpp
408
  msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
409
  msgstr "Of al deze gelateerde bijdragen getoond worden op de manier zoals je ze getoond wilt hebben hangt af van je YARPP instellingen."
410
 
411
+ #: class-core.php:73
412
+ #: class-core.php:83
413
+ #: class-core.php:273
414
+ #: class-core.php:284
415
+ #: template-metabox.php:30
416
  #: template-widget.php:13
417
  #@ yarpp
418
  msgid "No related posts."
419
  msgstr "Geen gerelateerde bijdragen."
420
 
421
+ #: class-core.php:71
422
+ #: class-core.php:81
423
+ #: class-core.php:271
424
+ #: class-core.php:282
425
  #@ yarpp
426
  msgid "Related posts:"
427
  msgstr "Gerelateerde bijdragen"
428
 
429
+ #: options-meta-boxes.php:208
430
+ #: options-meta-boxes.php:209
431
+ #: options-meta-boxes.php:217
432
+ #: options-meta-boxes.php:271
433
+ #: options-meta-boxes.php:272
434
+ #: options-meta-boxes.php:277
435
  #@ yarpp
436
  msgid " or "
437
+ msgstr "of "
438
 
439
+ #: class-admin.php:136
440
+ #@ default
441
  msgid "Settings"
442
  msgstr ""
443
 
444
+ #: class-widget.php:69
445
  #@ default
446
  msgid "Title:"
447
  msgstr ""
448
 
449
+ #: class-admin.php:162
450
  #@ yarpp
451
  msgid "Related entries may be displayed once you save your entry"
452
  msgstr ""
453
 
454
+ #: options-meta-boxes.php:153
455
  #@ yarpp
456
  msgid "YARPP limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
457
  msgstr ""
458
 
459
+ #: options-meta-boxes.php:298
460
  #@ yarpp
461
  msgid "YARPP Forum"
462
  msgstr ""
463
 
464
+ #: options-meta-boxes.php:299
465
  #@ yarpp
466
  msgid "YARPP on Twitter"
467
  msgstr ""
468
 
469
+ #: options-meta-boxes.php:300
470
  #@ yarpp
471
  msgid "YARPP on the Web"
472
  msgstr ""
473
 
474
+ #: options-meta-boxes.php:337
475
  #@ yarpp
476
  msgid "Contact YARPP"
477
  msgstr ""
478
 
479
+ #: options.php:34
480
  #, php-format
481
  #@ default
482
  msgid "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update automatically</a>."
483
  msgstr ""
484
 
485
+ #: options.php:79
486
  #, php-format
487
  #@ yarpp
488
  msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
489
  msgstr ""
490
 
491
+ #: options.php:149
492
  #, php-format
493
  #@ yarpp
494
  msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
495
  msgstr ""
496
 
497
+ #: class-admin.php:63
498
+ #@ default
499
+ msgid "Configure"
500
+ msgstr ""
501
+
502
+ #: class-admin.php:89
503
+ #@ yarpp
504
+ msgid "Thank you for installing <span>Yet Another Related Posts Plugin</span>!"
505
+ msgstr ""
506
+
507
+ #: class-admin.php:90
508
+ #@ yarpp
509
+ msgid "Make sure to visit the <a>Related Posts settings page</a> to customize YARPP."
510
+ msgstr ""
511
+
512
+ #: options-meta-boxes.php:113
513
+ #@ yarpp
514
+ msgid "Post types considered:"
515
+ msgstr ""
516
+
517
+ #: options-meta-boxes.php:116
518
+ #, php-format
519
+ #@ yarpp
520
+ msgid "Disallow by %s:"
521
+ msgstr ""
522
+
523
+ #: options-meta-boxes.php:169
524
+ #@ yarpp
525
+ msgid "Display results from all post types"
526
+ msgstr ""
527
+
528
+ #: options-meta-boxes.php:169
529
+ #@ yarpp
530
+ msgid "When \"display results from all post types\" is off, only posts will be displayed as related to a post, only pages will be displayed as related to a page, etc."
531
+ msgstr ""
532
+
533
+ #: options-meta-boxes.php:301
534
+ #@ yarpp
535
+ msgid "Rate YARPP on WordPress.org"
536
+ msgstr ""
537
+
538
+ #: options.php:178
539
+ #@ default
540
+ msgid "Save Changes"
541
+ msgstr ""
542
+
readme.txt CHANGED
@@ -6,8 +6,8 @@ Plugin URI: http://yarpp.org/
6
  Donate link: http://tinyurl.com/donatetomitcho
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.1
9
- Tested up to: 3.4.1
10
- Stable tag: 3.5.1
11
 
12
  Display a list of related entries on your site and feeds based on a unique algorithm. Now with custom post type support!
13
 
@@ -232,13 +232,23 @@ If you are a bilingual speaker of English and another language and an avid user
232
  == Changelog ==
233
 
234
  = 3.5.2 =
235
- * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-bug-found-with-solution): critical bugfix to an unfortunate typo which caused "no related posts" on many environments with non-MyISAM tables
 
236
  * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-351-error-call-to-a-member-function): reference to `get_post_types()` failed in ajax display
 
 
237
  * Localizations:
238
  * Added Czech (`cs_CZ`) localization by [Zdenek Hejl](http://www.zdenek-hejl.com)
239
  * Added Serbian (`sr_RS`) by [Zarko Zivkovic](http://www.zarkozivkovic.com/)
 
240
  * Clarified readme to require WordPress 3.1
241
- * PHP 5.3+: replaced an instance of `ereg_replace`
 
 
 
 
 
 
242
  = 3.5.1 =
243
  * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-catchable-fatal-error-object-of-class-stdclass-could-not-be-converted-to-string): change `$yarpp->get_post_types()` to return array of names by default
244
  * Ensure that all supported post types are used when "display results from all post types" is set
6
  Donate link: http://tinyurl.com/donatetomitcho
7
  Tags: related, posts, post, pages, page, RSS, feed, feeds
8
  Requires at least: 3.1
9
+ Tested up to: 3.5
10
+ Stable tag: 3.5.2
11
 
12
  Display a list of related entries on your site and feeds based on a unique algorithm. Now with custom post type support!
13
 
232
  == Changelog ==
233
 
234
  = 3.5.2 =
235
+ * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-bug-found-with-solution): fix an unfortunate typo which caused "no related posts" on many environments with non-MyISAM tables
236
+ * Fixed a bug where related posts would not be recomputed on post update, on environments using the `table` YARPP cache method and a persistent object caching system, like W3 Total Cache or memcached
237
  * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-351-error-call-to-a-member-function): reference to `get_post_types()` failed in ajax display
238
+ * Fixed a bug where some RSS display options were not being obeyed
239
+ * Fixed a bug where the "automatic display" was being displayed on some custom post types without any control.
240
  * Localizations:
241
  * Added Czech (`cs_CZ`) localization by [Zdenek Hejl](http://www.zdenek-hejl.com)
242
  * Added Serbian (`sr_RS`) by [Zarko Zivkovic](http://www.zarkozivkovic.com/)
243
+ * Fixed bug in Dutch localization
244
  * Clarified readme to require WordPress 3.1
245
+ * Code cleanup:
246
+ * PHP 5.3+: replaced an instance of `ereg_replace`
247
+ * Removed warning on settings save
248
+ * Sometimes [a warning]((http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-warning-invalid-argument-supplied-for-foreach)) was printed on upgrade from YARPP < 3.4.4
249
+ * Fixed [PHP warning](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-php-warning) when no taxonomies are considered
250
+ * No longer using `clear_pre` function which has been deprecated since WordPress 3.4.
251
+
252
  = 3.5.1 =
253
  * [Bugfix](http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-catchable-fatal-error-object-of-class-stdclass-could-not-be-converted-to-string): change `$yarpp->get_post_types()` to return array of names by default
254
  * Ensure that all supported post types are used when "display results from all post types" is set
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. Now with custom post type support!
6
- Version: 3.5.2b2
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.5.2b2');
13
  define('YARPP_DIR', dirname(__FILE__));
14
  define('YARPP_NO_RELATED', ':(');
15
  define('YARPP_RELATED', ':)');
@@ -42,10 +42,6 @@ add_action( 'init', 'yarpp_init' );
42
  function yarpp_init() {
43
  global $yarpp;
44
  $yarpp = new YARPP;
45
-
46
- // new in 3.3: include BlogGlue meta box
47
- if ( file_exists( YARPP_DIR . '/blogglue.php' ) && date('Ym') < 201204 )
48
- include_once( YARPP_DIR . '/blogglue.php' );
49
  }
50
 
51
  function yarpp_set_option($options, $value = null) {
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. Now with custom post type support!
6
+ Version: 3.5.2
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.5.2');
13
  define('YARPP_DIR', dirname(__FILE__));
14
  define('YARPP_NO_RELATED', ':(');
15
  define('YARPP_RELATED', ':)');
42
  function yarpp_init() {
43
  global $yarpp;
44
  $yarpp = new YARPP;
 
 
 
 
45
  }
46
 
47
  function yarpp_set_option($options, $value = null) {