Version Description
- Bugfix: Now more robust against certain custom options.
- Updated plugin de-activate/delete functionality to drop all tables. Prior to fix some legacy tables remained which required manual deletion in wp_options from phpmyadmin.
- Updated FAQs section.
- Update to YARPP's data collection terms and conditions.
- Added Macedonian (
mk_MK
) localization by WPdiscounts.
Download this release
Release Info
Developer | jeffparker |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 4.0.7 |
Comparing to | |
See all releases |
Code changes from version 4.0.6 to 4.0.7
- class-admin.php +139 -73
- class-cache.php +3 -2
- class-core.php +42 -19
- lang/yarpp-ar_AR.po +0 -10
- lang/yarpp-ar_EG.po +0 -10
- lang/yarpp-bg_BG.po +0 -10
- lang/yarpp-by_BY.po +0 -6
- lang/yarpp-cs_CZ.po +0 -6
- lang/yarpp-de_DE.po +0 -11
- lang/yarpp-el_CY.po +0 -10
- lang/yarpp-el_EL.po +0 -10
- lang/yarpp-es_ES.po +0 -11
- lang/yarpp-est_EST.po +0 -7
- lang/yarpp-fa_IR.po +0 -6
- lang/yarpp-fr_FR.po +0 -6
- lang/yarpp-gb_IR.po +0 -6
- lang/yarpp-ge_KA.po +0 -6
- lang/yarpp-gu_IN.po +0 -6
- lang/yarpp-he_IL.po +0 -6
- lang/yarpp-hi_IN.po +0 -6
- lang/yarpp-hr.po +0 -8
- lang/yarpp-hu_HU.po +0 -6
- lang/yarpp-id_ID.po +0 -6
- lang/yarpp-it_IT.po +0 -6
- lang/yarpp-ja.po +0 -7
- lang/yarpp-kk_KZ.po +0 -6
- lang/yarpp-ko_KR.po +0 -6
- lang/yarpp-lt_LT.po +0 -6
- lang/yarpp-lv_LV.po +0 -6
- lang/yarpp-mk-MK.mo +0 -0
- lang/yarpp-mk-MK.po +617 -0
- lang/yarpp-nb_NO.po +0 -6
- lang/yarpp-nl_NL.po +0 -6
- lang/yarpp-pl_PL.po +0 -9
- lang/yarpp-pt_BR.po +0 -6
- lang/yarpp-pt_PT.po +0 -6
- lang/yarpp-ro_RO.po +0 -6
- lang/yarpp-ru_RU.po +0 -6
- lang/yarpp-sk_SK.po +0 -6
- lang/yarpp-sl_SI.po +0 -5
- lang/yarpp-sr_RS.po +0 -6
- lang/yarpp-sv_SE.po +0 -6
- lang/yarpp-tr_TR.po +0 -6
- lang/yarpp-uk_UA.po +0 -6
- lang/yarpp-uz_UZ.po +0 -6
- lang/yarpp-vi_VN.po +0 -6
- lang/yarpp-zh_CN.po +0 -6
- lang/yarpp-zh_TW.po +0 -6
- options-meta-boxes.php +65 -52
- options.css +0 -3
- options.php +68 -29
- readme.txt +101 -71
- uninstall.php +62 -0
- yarpp.php +5 -3
class-admin.php
CHANGED
@@ -43,7 +43,8 @@ class YARPP_Admin {
|
|
43 |
add_action( 'wp_ajax_yarpp_display_demo', array( $this, 'ajax_display_demo' ) );
|
44 |
add_action( 'wp_ajax_yarpp_display', array( $this, 'ajax_display' ) );
|
45 |
add_action( 'wp_ajax_yarpp_optin_data', array( $this, 'ajax_optin_data' ) );
|
46 |
-
|
|
|
47 |
add_action( 'wp_ajax_yarpp_set_display_code', array( $this, 'ajax_set_display_code' ) );
|
48 |
}
|
49 |
}
|
@@ -51,22 +52,32 @@ class YARPP_Admin {
|
|
51 |
function ui_register() {
|
52 |
global $wp_version;
|
53 |
|
54 |
-
if (
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
current_user_can('manage_options') &&
|
61 |
get_option( 'yarpp_upgraded' )
|
62 |
) {
|
|
|
63 |
add_action( 'admin_notices', array( $this, 'upgrade_notice' ) );
|
64 |
-
|
|
|
65 |
current_user_can('manage_options') &&
|
66 |
!get_user_option( 'yarpp_saw_optin' )
|
67 |
) {
|
|
|
68 |
add_action( 'admin_notices', array( $this, 'optin_notice' ) );
|
69 |
-
|
|
|
70 |
|
71 |
if ( $this->core->get_option('optin') )
|
72 |
delete_option( 'yarpp_upgraded' );
|
@@ -88,7 +99,7 @@ class YARPP_Admin {
|
|
88 |
|
89 |
// new in 3.3: properly enqueue scripts for admin:
|
90 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
|
91 |
-
}
|
92 |
|
93 |
// 3.5.4: only load metabox code if we're going to be on the settings page
|
94 |
function settings_screen( $current_screen ) {
|
@@ -148,89 +159,131 @@ class YARPP_Admin {
|
|
148 |
|
149 |
public function help_optin() {
|
150 |
// todo: i18n
|
151 |
-
echo
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
echo '<p>';
|
157 |
-
$this->print_optin_button();
|
158 |
-
$this->optin_button_script();
|
159 |
echo '</p>';
|
160 |
}
|
161 |
|
162 |
-
echo
|
163 |
-
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
}
|
|
|
|
|
|
|
|
|
166 |
|
167 |
-
function the_optin_button() {
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
}
|
170 |
|
171 |
-
function optin_button_script() {
|
172 |
-
wp_nonce_field(
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
function print_optin_button() {
|
194 |
-
echo $this->the_optin_button();
|
195 |
}
|
196 |
|
197 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
$screen = get_current_screen();
|
199 |
-
if
|
200 |
-
return;
|
201 |
|
202 |
-
switch
|
203 |
case 'upgrade':
|
204 |
-
delete_option(
|
205 |
break;
|
206 |
case 'install':
|
207 |
break;
|
208 |
default:
|
209 |
$user = get_current_user_id();
|
210 |
-
update_user_option(
|
211 |
}
|
212 |
|
213 |
echo '<div class="updated fade"><p>';
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
|
220 |
echo '</p><p>';
|
221 |
-
$this->print_optin_button();
|
222 |
-
$this->optin_button_script();
|
223 |
-
echo '<a class="button" href="options-general.php?page=yarpp#help-optin">'
|
224 |
echo '</p></div>';
|
225 |
}
|
226 |
-
|
227 |
-
function upgrade_notice() {
|
228 |
-
$this->optin_notice( 'upgrade' );
|
229 |
-
}
|
230 |
-
|
231 |
-
function install_notice() {
|
232 |
-
$this->optin_notice( 'install' );
|
233 |
-
}
|
234 |
|
235 |
// faux-markdown, required for the help text rendering
|
236 |
protected function markdown( $text ) {
|
@@ -454,7 +507,7 @@ class YARPP_Admin {
|
|
454 |
}
|
455 |
|
456 |
function ajax_optin_data() {
|
457 |
-
check_ajax_referer(
|
458 |
|
459 |
header("HTTP/1.1 200");
|
460 |
header("Content-Type: text/html; charset=UTF-8");
|
@@ -464,13 +517,26 @@ class YARPP_Admin {
|
|
464 |
exit;
|
465 |
}
|
466 |
|
467 |
-
|
468 |
-
check_ajax_referer(
|
469 |
|
470 |
header("HTTP/1.1 200");
|
471 |
header("Content-Type: text; charset=UTF-8");
|
472 |
-
|
473 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
474 |
$this->core->optin_ping();
|
475 |
echo 'ok';
|
476 |
exit;
|
43 |
add_action( 'wp_ajax_yarpp_display_demo', array( $this, 'ajax_display_demo' ) );
|
44 |
add_action( 'wp_ajax_yarpp_display', array( $this, 'ajax_display' ) );
|
45 |
add_action( 'wp_ajax_yarpp_optin_data', array( $this, 'ajax_optin_data' ) );
|
46 |
+
add_action( 'wp_ajax_yarpp_optin_enable', array( $this,'ajax_optin_enable'));
|
47 |
+
add_action( 'wp_ajax_yarpp_optin_disable', array( $this,'ajax_optin_disable'));
|
48 |
add_action( 'wp_ajax_yarpp_set_display_code', array( $this, 'ajax_set_display_code' ) );
|
49 |
}
|
50 |
}
|
52 |
function ui_register() {
|
53 |
global $wp_version;
|
54 |
|
55 |
+
if (get_option('yarpp_activated')) {
|
56 |
+
|
57 |
+
delete_option('yarpp_activated');
|
58 |
+
delete_option('yarpp_upgraded');
|
59 |
+
|
60 |
+
if ( $this->core->get_option('optin') ){
|
61 |
+
add_action('admin_notices', array($this, 'install_notice_disable'));
|
62 |
+
}else{
|
63 |
+
add_action('admin_notices', array($this, 'install_notice_enable'));
|
64 |
+
}
|
65 |
+
|
66 |
+
} elseif ( $this->core->get_option('optin') &&
|
67 |
current_user_can('manage_options') &&
|
68 |
get_option( 'yarpp_upgraded' )
|
69 |
) {
|
70 |
+
|
71 |
add_action( 'admin_notices', array( $this, 'upgrade_notice' ) );
|
72 |
+
|
73 |
+
} elseif ( $this->core->get_option('optin') &&
|
74 |
current_user_can('manage_options') &&
|
75 |
!get_user_option( 'yarpp_saw_optin' )
|
76 |
) {
|
77 |
+
|
78 |
add_action( 'admin_notices', array( $this, 'optin_notice' ) );
|
79 |
+
|
80 |
+
}/*end get_optin if*/
|
81 |
|
82 |
if ( $this->core->get_option('optin') )
|
83 |
delete_option( 'yarpp_upgraded' );
|
99 |
|
100 |
// new in 3.3: properly enqueue scripts for admin:
|
101 |
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
|
102 |
+
}/*end ui_register*/
|
103 |
|
104 |
// 3.5.4: only load metabox code if we're going to be on the settings page
|
105 |
function settings_screen( $current_screen ) {
|
159 |
|
160 |
public function help_optin() {
|
161 |
// todo: i18n
|
162 |
+
echo(
|
163 |
+
'<p>'.
|
164 |
+
__("With your permission, YARPP will send information about YARPP's settings, usage, and environment
|
165 |
+
back to a central server at ", 'yarpp').'<code>yarpp.org</code>'.'. '.
|
166 |
+
__("This information will be used to improve YARPP in the future and help decide future development
|
167 |
+
decisions for YARPP.",
|
168 |
+
'yarpp'
|
169 |
+
).' '.
|
170 |
+
'<strong>'.
|
171 |
+
__("Contributing this data will help make YARPP better for you and for other YARPP users.",
|
172 |
+
'yarpp' ).'</strong>'.
|
173 |
+
'</p>'
|
174 |
+
);
|
175 |
+
|
176 |
+
if(!$this->core->get_option('optin')) {
|
177 |
echo '<p>';
|
178 |
+
$this->print_optin_button('Enable');
|
179 |
+
$this->optin_button_script('enable');
|
180 |
echo '</p>';
|
181 |
}
|
182 |
|
183 |
+
echo(
|
184 |
+
'<p>'.
|
185 |
+
__("The following information is sent back to YARPP:", 'yarpp').
|
186 |
+
'</p>'.
|
187 |
+
'<div id="optin_data_frame"></div>'.
|
188 |
+
'<p>'.
|
189 |
+
__("In addition, YARPP also loads an invisible pixel image with your YARPP results to know how often YARPP is being used.", 'yarpp').
|
190 |
+
'</p>'
|
191 |
+
);
|
192 |
}
|
193 |
+
|
194 |
+
function print_optin_button($action = 'Disable') {
|
195 |
+
echo $this->the_optin_button($action);
|
196 |
+
}
|
197 |
|
198 |
+
function the_optin_button($action = 'Disable') {
|
199 |
+
$out = '<a id="yarpp-optin-button" class="button">'.
|
200 |
+
__($action.' sending usage data back to YARPP', 'yarpp').
|
201 |
+
'</a>'.
|
202 |
+
'<span class="yarpp-thankyou" style="display:none; margin-right: 10px;">'.
|
203 |
+
'<strong>'.__('Thank you!', 'yarpp').'</strong>'.
|
204 |
+
'</span>';
|
205 |
+
return $out;
|
206 |
}
|
207 |
|
208 |
+
function optin_button_script($action = 'disable') {
|
209 |
+
wp_nonce_field('yarpp_optin_'.$action, 'yarpp_optin-nonce', false);
|
210 |
+
|
211 |
+
echo(
|
212 |
+
"<script type='text/javascript'>
|
213 |
+
jQuery(function($){
|
214 |
+
$(document.body).on('click', '#yarpp-optin-button', function(){
|
215 |
+
$(this).hide().siblings('.yarpp-thankyou').show('slow');
|
216 |
+
$('#yarpp-optin').attr('checked', true);
|
217 |
+
$.ajax({
|
218 |
+
type:'POST',
|
219 |
+
url : ajaxurl,
|
220 |
+
data: {
|
221 |
+
action: 'yarpp_optin_".$action."',
|
222 |
+
'_ajax_nonce': $('#yarpp_optin-nonce').val()
|
223 |
+
}
|
224 |
+
});
|
225 |
+
});
|
226 |
+
});
|
227 |
+
</script>\n"
|
228 |
+
);
|
|
|
|
|
|
|
229 |
}
|
230 |
|
231 |
+
function upgrade_notice() {
|
232 |
+
$this->optin_notice('upgrade');
|
233 |
+
}
|
234 |
+
|
235 |
+
function install_notice_enable() {
|
236 |
+
$this->optin_notice('install','Enable');
|
237 |
+
}
|
238 |
+
|
239 |
+
function install_notice_disable() {
|
240 |
+
$this->optin_notice('install');
|
241 |
+
}
|
242 |
+
|
243 |
+
function optin_notice($type = false, $action = 'Disable') {
|
244 |
$screen = get_current_screen();
|
245 |
+
if(is_null($screen) || $screen->id == 'settings_page_yarpp') return;
|
|
|
246 |
|
247 |
+
switch($type) {
|
248 |
case 'upgrade':
|
249 |
+
delete_option('yarpp_upgraded');
|
250 |
break;
|
251 |
case 'install':
|
252 |
break;
|
253 |
default:
|
254 |
$user = get_current_user_id();
|
255 |
+
update_user_option($user, 'yarpp_saw_optin', true);
|
256 |
}
|
257 |
|
258 |
echo '<div class="updated fade"><p>';
|
259 |
+
|
260 |
+
if($type === 'upgrade'){
|
261 |
+
echo '<strong>'.sprintf(__('%1$s updated successfully.'), 'Yet Another Related Posts Plugin' ).'</strong>';
|
262 |
+
}
|
263 |
+
|
264 |
+
if ( $type == 'install' ){
|
265 |
+
/* TODO: Why translate YARPP and use str_replace. Performance??? --Eli */
|
266 |
+
echo(
|
267 |
+
'<strong>'.
|
268 |
+
str_replace('<span>','<span style="font-style:italic; font-weight: inherit;">',
|
269 |
+
__('Thank you for installing <span>Yet Another Related Posts Plugin</span>!', 'yarpp')).
|
270 |
+
'</strong>'
|
271 |
+
);
|
272 |
+
}
|
273 |
+
|
274 |
+
_e(
|
275 |
+
"<p>".
|
276 |
+
"YARPP would like to use your site's usage statistics to make more informed decisions about future development. ".
|
277 |
+
"Optionally, this can be disabled by clicking on the button below.".
|
278 |
+
"</p>"
|
279 |
+
,'yarpp' );
|
280 |
|
281 |
echo '</p><p>';
|
282 |
+
$this->print_optin_button($action);
|
283 |
+
$this->optin_button_script(strtolower($action));
|
284 |
+
echo '<a class="button" href="options-general.php?page=yarpp#help-optin">'.__('Learn More', 'yarpp').'</a>';
|
285 |
echo '</p></div>';
|
286 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
|
288 |
// faux-markdown, required for the help text rendering
|
289 |
protected function markdown( $text ) {
|
507 |
}
|
508 |
|
509 |
function ajax_optin_data() {
|
510 |
+
check_ajax_referer('yarpp_optin_data');
|
511 |
|
512 |
header("HTTP/1.1 200");
|
513 |
header("Content-Type: text/html; charset=UTF-8");
|
517 |
exit;
|
518 |
}
|
519 |
|
520 |
+
function ajax_optin_disable() {
|
521 |
+
check_ajax_referer('yarpp_optin_disable');
|
522 |
|
523 |
header("HTTP/1.1 200");
|
524 |
header("Content-Type: text; charset=UTF-8");
|
525 |
+
|
526 |
+
$data = $this->core->set_option('optin', false);
|
527 |
+
|
528 |
+
echo 'ok';
|
529 |
+
exit;
|
530 |
+
}
|
531 |
+
|
532 |
+
function ajax_optin_enable() {
|
533 |
+
check_ajax_referer('yarpp_optin_enable');
|
534 |
+
|
535 |
+
header("HTTP/1.1 200");
|
536 |
+
header("Content-Type: text; charset=UTF-8");
|
537 |
+
|
538 |
+
$data = $this->core->set_option('optin', true);
|
539 |
+
|
540 |
$this->core->optin_ping();
|
541 |
echo 'ok';
|
542 |
exit;
|
class-cache.php
CHANGED
@@ -119,9 +119,10 @@ abstract class YARPP_Cache {
|
|
119 |
|
120 |
function set_score_override_flag( $q ) {
|
121 |
if ( $this->is_yarpp_time() ) {
|
122 |
-
$this->score_override = ($q->query_vars['orderby']
|
|
|
123 |
|
124 |
-
if (!empty($q->query_vars['showposts'])) {
|
125 |
$this->online_limit = $q->query_vars['showposts'];
|
126 |
} else {
|
127 |
$this->online_limit = false;
|
119 |
|
120 |
function set_score_override_flag( $q ) {
|
121 |
if ( $this->is_yarpp_time() ) {
|
122 |
+
$this->score_override = ( isset($q->query_vars['orderby']) &&
|
123 |
+
$q->query_vars['orderby'] == 'score' );
|
124 |
|
125 |
+
if ( !empty($q->query_vars['showposts']) ) {
|
126 |
$this->online_limit = $q->query_vars['showposts'];
|
127 |
} else {
|
128 |
$this->online_limit = false;
|
class-core.php
CHANGED
@@ -119,7 +119,7 @@ class YARPP {
|
|
119 |
)
|
120 |
),
|
121 |
'require_tax' => array(), // new in 3.5
|
122 |
-
'optin' => false, // new in 4
|
123 |
'thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
|
124 |
'thumbnails_default' => plugins_url( 'default.png', __FILE__ ), // new in 4
|
125 |
'rss_thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
|
@@ -163,6 +163,7 @@ class YARPP {
|
|
163 |
// 3.4b8: $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
|
164 |
function get_option( $option = null ) {
|
165 |
$options = (array) get_option( 'yarpp', array() );
|
|
|
166 |
// ensure defaults if not set:
|
167 |
$options = array_merge( $this->default_options, $options );
|
168 |
|
@@ -791,7 +792,8 @@ class YARPP {
|
|
791 |
$comments = wp_count_comments();
|
792 |
$users = count_users();
|
793 |
|
794 |
-
$settings = get_option(
|
|
|
795 |
$collect = array_flip(array(
|
796 |
'threshold', 'limit', 'excerpt_length', 'recent', 'rss_limit',
|
797 |
'rss_excerpt_length', 'past_only', 'show_excerpt', 'rss_show_excerpt',
|
@@ -799,6 +801,7 @@ class YARPP {
|
|
799 |
'rss_display', 'rss_excerpt_display', 'promote_yarpp', 'rss_promote_yarpp',
|
800 |
'myisam_override', 'weight', 'require_tax', 'auto_display_archive'
|
801 |
));
|
|
|
802 |
$check_changed = array(
|
803 |
'before_title', 'after_title', 'before_post', 'after_post',
|
804 |
'after_related', 'no_results', 'order', 'rss_before_title',
|
@@ -890,7 +893,8 @@ class YARPP {
|
|
890 |
'sites' => get_blog_count()
|
891 |
);
|
892 |
}
|
893 |
-
|
|
|
894 |
return $data;
|
895 |
}
|
896 |
|
@@ -1004,21 +1008,28 @@ class YARPP {
|
|
1004 |
$this->active_cache->end_yarpp_time(); // YARPP time is over... :(
|
1005 |
}
|
1006 |
|
1007 |
-
unset(
|
1008 |
$this->restore_post_context();
|
1009 |
|
1010 |
-
if (
|
1011 |
-
$output .=
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1016 |
$output .= "</div>\n";
|
1017 |
|
1018 |
-
if ($echo)
|
1019 |
-
|
1020 |
return $output;
|
1021 |
-
}
|
1022 |
|
1023 |
/*
|
1024 |
* @param (int) $reference_ID
|
@@ -1194,6 +1205,9 @@ class YARPP {
|
|
1194 |
} else {
|
1195 |
$r[$option] = $default;
|
1196 |
}
|
|
|
|
|
|
|
1197 |
}
|
1198 |
return $r;
|
1199 |
}
|
@@ -1314,15 +1328,15 @@ class YARPP {
|
|
1314 |
|
1315 |
// @since 3.3: use PHP serialized format instead of JSON
|
1316 |
function version_info( $enforce_cache = false ) {
|
1317 |
-
if (
|
1318 |
return $result;
|
1319 |
|
1320 |
$version = YARPP_VERSION;
|
1321 |
$remote = wp_remote_post("http://yarpp.org/checkversion.php?format=php&version={$version}");
|
1322 |
|
1323 |
-
if (
|
1324 |
wp_remote_retrieve_response_code( $remote ) != 200 ||
|
1325 |
-
!isset($remote['body'])
|
1326 |
// try again later
|
1327 |
$this->set_transient('yarpp_version_info', null, 60 * 60);
|
1328 |
return false;
|
@@ -1339,7 +1353,8 @@ class YARPP {
|
|
1339 |
if ( $this->get_transient( 'yarpp_optin' ) )
|
1340 |
return true;
|
1341 |
|
1342 |
-
$remote = wp_remote_post(
|
|
|
1343 |
if ( is_wp_error($remote) ||
|
1344 |
wp_remote_retrieve_response_code( $remote ) != 200 ||
|
1345 |
!isset($remote['body']) ||
|
@@ -1355,8 +1370,8 @@ class YARPP {
|
|
1355 |
// a version of the transient functions which is unaffected by caching plugin behavior.
|
1356 |
// we want to control the lifetime of data.
|
1357 |
private function get_transient( $transient ) {
|
1358 |
-
$transient_timeout = $transient
|
1359 |
-
if ( intval(
|
1360 |
delete_option( $transient_timeout );
|
1361 |
return false; // timed out
|
1362 |
}
|
@@ -1365,15 +1380,23 @@ class YARPP {
|
|
1365 |
|
1366 |
private function set_transient( $transient, $data = null, $expiration = 0 ) {
|
1367 |
$transient_timeout = $transient . '_timeout';
|
|
|
1368 |
if ( false === get_option( $transient_timeout ) ) {
|
|
|
1369 |
add_option( $transient_timeout, time() + $expiration, '', 'no' );
|
|
|
1370 |
if ( !is_null( $data ) )
|
1371 |
add_option( $transient, $data, '', 'no' );
|
|
|
1372 |
} else {
|
|
|
1373 |
update_option( $transient_timeout, time() + $expiration );
|
|
|
1374 |
if ( !is_null( $data ) )
|
1375 |
update_option( $transient, $data );
|
|
|
1376 |
}
|
|
|
1377 |
$this->kick_other_caches();
|
1378 |
}
|
1379 |
|
119 |
)
|
120 |
),
|
121 |
'require_tax' => array(), // new in 3.5
|
122 |
+
'optin' => false, // new in 4, default on 4.0.7
|
123 |
'thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
|
124 |
'thumbnails_default' => plugins_url( 'default.png', __FILE__ ), // new in 4
|
125 |
'rss_thumbnails_heading' => __('Related posts:','yarpp'), // new in 4
|
163 |
// 3.4b8: $option can be a path, of the query_str variety, i.e. "option[suboption][subsuboption]"
|
164 |
function get_option( $option = null ) {
|
165 |
$options = (array) get_option( 'yarpp', array() );
|
166 |
+
|
167 |
// ensure defaults if not set:
|
168 |
$options = array_merge( $this->default_options, $options );
|
169 |
|
792 |
$comments = wp_count_comments();
|
793 |
$users = count_users();
|
794 |
|
795 |
+
$settings = $this->get_option();
|
796 |
+
|
797 |
$collect = array_flip(array(
|
798 |
'threshold', 'limit', 'excerpt_length', 'recent', 'rss_limit',
|
799 |
'rss_excerpt_length', 'past_only', 'show_excerpt', 'rss_show_excerpt',
|
801 |
'rss_display', 'rss_excerpt_display', 'promote_yarpp', 'rss_promote_yarpp',
|
802 |
'myisam_override', 'weight', 'require_tax', 'auto_display_archive'
|
803 |
));
|
804 |
+
|
805 |
$check_changed = array(
|
806 |
'before_title', 'after_title', 'before_post', 'after_post',
|
807 |
'after_related', 'no_results', 'order', 'rss_before_title',
|
893 |
'sites' => get_blog_count()
|
894 |
);
|
895 |
}
|
896 |
+
|
897 |
+
// $this->pretty_echo($data);
|
898 |
return $data;
|
899 |
}
|
900 |
|
1008 |
$this->active_cache->end_yarpp_time(); // YARPP time is over... :(
|
1009 |
}
|
1010 |
|
1011 |
+
unset($related_query);
|
1012 |
$this->restore_post_context();
|
1013 |
|
1014 |
+
if ($related_count > 0 && $promote_yarpp && $domain != 'metabox') {
|
1015 |
+
$output .=
|
1016 |
+
"<p>".
|
1017 |
+
sprintf(
|
1018 |
+
__("Related posts brought to you by <a href='%s'>Yet Another Related Posts Plugin</a>.",'yarpp'),
|
1019 |
+
'http://yarpp.org'
|
1020 |
+
).
|
1021 |
+
"</p>\n";
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
if($optin){
|
1025 |
+
$output .= '<img src="http://yarpp.org/pixels/'.md5(get_bloginfo('url')).'" alt="Yarpp"/>'."\n";
|
1026 |
+
}
|
1027 |
$output .= "</div>\n";
|
1028 |
|
1029 |
+
if ($echo) echo $output;
|
1030 |
+
|
1031 |
return $output;
|
1032 |
+
}/*end display_related*/
|
1033 |
|
1034 |
/*
|
1035 |
* @param (int) $reference_ID
|
1205 |
} else {
|
1206 |
$r[$option] = $default;
|
1207 |
}
|
1208 |
+
|
1209 |
+
if ( $option == 'weight' && !isset( $r[$option]['tax'] ) )
|
1210 |
+
$r[$option]['tax'] = array();
|
1211 |
}
|
1212 |
return $r;
|
1213 |
}
|
1328 |
|
1329 |
// @since 3.3: use PHP serialized format instead of JSON
|
1330 |
function version_info( $enforce_cache = false ) {
|
1331 |
+
if (!$enforce_cache && false !== ($result = $this->get_transient('yarpp_version_info')) )
|
1332 |
return $result;
|
1333 |
|
1334 |
$version = YARPP_VERSION;
|
1335 |
$remote = wp_remote_post("http://yarpp.org/checkversion.php?format=php&version={$version}");
|
1336 |
|
1337 |
+
if (is_wp_error($remote) ||
|
1338 |
wp_remote_retrieve_response_code( $remote ) != 200 ||
|
1339 |
+
!isset($remote['body'])) {
|
1340 |
// try again later
|
1341 |
$this->set_transient('yarpp_version_info', null, 60 * 60);
|
1342 |
return false;
|
1353 |
if ( $this->get_transient( 'yarpp_optin' ) )
|
1354 |
return true;
|
1355 |
|
1356 |
+
$remote = wp_remote_post('http://yarpp.org/optin/2/', array('body' => $this->optin_data()));
|
1357 |
+
|
1358 |
if ( is_wp_error($remote) ||
|
1359 |
wp_remote_retrieve_response_code( $remote ) != 200 ||
|
1360 |
!isset($remote['body']) ||
|
1370 |
// a version of the transient functions which is unaffected by caching plugin behavior.
|
1371 |
// we want to control the lifetime of data.
|
1372 |
private function get_transient( $transient ) {
|
1373 |
+
$transient_timeout = $transient.'_timeout';
|
1374 |
+
if ( intval(get_option($transient_timeout)) < time()) {
|
1375 |
delete_option( $transient_timeout );
|
1376 |
return false; // timed out
|
1377 |
}
|
1380 |
|
1381 |
private function set_transient( $transient, $data = null, $expiration = 0 ) {
|
1382 |
$transient_timeout = $transient . '_timeout';
|
1383 |
+
|
1384 |
if ( false === get_option( $transient_timeout ) ) {
|
1385 |
+
|
1386 |
add_option( $transient_timeout, time() + $expiration, '', 'no' );
|
1387 |
+
|
1388 |
if ( !is_null( $data ) )
|
1389 |
add_option( $transient, $data, '', 'no' );
|
1390 |
+
|
1391 |
} else {
|
1392 |
+
|
1393 |
update_option( $transient_timeout, time() + $expiration );
|
1394 |
+
|
1395 |
if ( !is_null( $data ) )
|
1396 |
update_option( $transient, $data );
|
1397 |
+
|
1398 |
}
|
1399 |
+
|
1400 |
$this->kick_other_caches();
|
1401 |
}
|
1402 |
|
lang/yarpp-ar_AR.po
CHANGED
@@ -116,11 +116,6 @@ msgstr "النظر مع الوزن الزائد"
|
|
116 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
117 |
msgstr "بعد إصدار آخر ذات الوظائف البرنامج المساعد التاريخ (RSS 2.0)"
|
118 |
|
119 |
-
#: options.php:253
|
120 |
-
#@ yarpp
|
121 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
122 |
-
msgstr "التبرع لmitcho (مايكل يوشيتاكا Erlewine) عن طريق هذا البرنامج المساعد PayPal"
|
123 |
-
|
124 |
#: options.php:242
|
125 |
#@ yarpp
|
126 |
msgid "Yet Another Related Posts Plugin Options"
|
@@ -451,11 +446,6 @@ msgstr " MySQL خطأ في إنشاء جدول yarpp_keyword_cache"
|
|
451 |
msgid "Example post "
|
452 |
msgstr "سبيل المثال وظيفة"
|
453 |
|
454 |
-
#: options.php:255
|
455 |
-
#@ yarpp
|
456 |
-
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
457 |
-
msgstr "من قبل <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
458 |
-
|
459 |
#: options.php:255
|
460 |
#@ yarpp
|
461 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
116 |
msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
|
117 |
msgstr "بعد إصدار آخر ذات الوظائف البرنامج المساعد التاريخ (RSS 2.0)"
|
118 |
|
|
|
|
|
|
|
|
|
|
|
119 |
#: options.php:242
|
120 |
#@ yarpp
|
121 |
msgid "Yet Another Related Posts Plugin Options"
|
446 |
msgid "Example post "
|
447 |
msgstr "سبيل المثال وظيفة"
|
448 |
|
|
|
|
|
|
|
|
|
|
|
449 |
#: options.php:255
|
450 |
#@ yarpp
|
451 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
lang/yarpp-ar_EG.po
CHANGED
@@ -209,16 +209,6 @@ msgstr "تاريخ إصدار إضافة المحتويات ذات الصلة YA
|
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "إعدادات إضافة المحتويات ذات الصلة YARPP"
|
211 |
|
212 |
-
#: options.php:253
|
213 |
-
#@ yarpp
|
214 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
215 |
-
msgstr "تبرع لmitcho (مايكل يوشيتاكا إرلوين) لدعم هذه الإضافة عن طريق باي بال"
|
216 |
-
|
217 |
-
#: options.php:255
|
218 |
-
#@ yarpp
|
219 |
-
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
220 |
-
msgstr "من <a href=\\\"http://mitcho.com/code/\\\">mitcho (مايكل芳贵Erlewine)</a>"
|
221 |
-
|
222 |
#: options.php:255
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "إعدادات إضافة المحتويات ذات الصلة YARPP"
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
#: options.php:255
|
213 |
#@ yarpp
|
214 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
lang/yarpp-bg_BG.po
CHANGED
@@ -209,16 +209,6 @@ msgstr "Yet Another Related Posts Plugin история на версиите (R
|
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "Yet Another Related Posts Plugin Настройки"
|
211 |
|
212 |
-
#: options.php:253
|
213 |
-
#@ yarpp
|
214 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
215 |
-
msgstr "Донирай на mitcho (Michael Yoshitaka Erlewine) за това разширение чрез PayPal"
|
216 |
-
|
217 |
-
#: options.php:255
|
218 |
-
#@ yarpp
|
219 |
-
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
220 |
-
msgstr "от <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
221 |
-
|
222 |
#: options.php:255
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
209 |
msgid "Yet Another Related Posts Plugin Options"
|
210 |
msgstr "Yet Another Related Posts Plugin Настройки"
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
#: options.php:255
|
213 |
#@ yarpp
|
214 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
lang/yarpp-by_BY.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "разглядаць"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "разглядаць з дадатковай вагай"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Ахвяраваць распрацоўніку mitcho (Michael Yoshitaka Erlewine), праз PayPal"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "разглядаць з дадатковай вагай"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-cs_CZ.po
CHANGED
@@ -436,12 +436,6 @@ msgstr "Web YARPP"
|
|
436 |
msgid "Rate YARPP on WordPress.org"
|
437 |
msgstr "Ohodnotit YARPP na WordPress.org"
|
438 |
|
439 |
-
#: options-meta-boxes.php:302
|
440 |
-
#@ default
|
441 |
-
#@ yarpp
|
442 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
443 |
-
msgstr "Poslat finanční příspěvek autorovi pluginu pomocí PayPalu - mitcho (Michael Yoshitaka Erlewine)"
|
444 |
-
|
445 |
#: options-meta-boxes.php:337
|
446 |
#@ yarpp
|
447 |
msgid "Contact YARPP"
|
436 |
msgid "Rate YARPP on WordPress.org"
|
437 |
msgstr "Ohodnotit YARPP na WordPress.org"
|
438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
#: options-meta-boxes.php:337
|
440 |
#@ yarpp
|
441 |
msgid "Contact YARPP"
|
lang/yarpp-de_DE.po
CHANGED
@@ -101,12 +101,6 @@ msgstr "berücksichtigen"
|
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr "besonders berücksichtigen"
|
103 |
|
104 |
-
#: options.php:252
|
105 |
-
#@ default
|
106 |
-
#@ yarpp
|
107 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
108 |
-
msgstr "An mitcho (Michael Yoshitaka Erlewine) für die Entwicklung des Plugins via PayPal spenden"
|
109 |
-
|
110 |
#: options.php:240
|
111 |
#@ yarpp
|
112 |
msgid "Yet Another Related Posts Plugin Options"
|
@@ -557,11 +551,6 @@ msgstr ""
|
|
557 |
msgid "Related entries may be displayed once you save your entry"
|
558 |
msgstr "Ähnliche Beiträge werden nach dem Speichern angezeigt"
|
559 |
|
560 |
-
#: options.php:255
|
561 |
-
#@ yarpp
|
562 |
-
msgid "by <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
563 |
-
msgstr "von <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
564 |
-
|
565 |
#: options.php:272
|
566 |
#: options.php:305
|
567 |
#: options.php:411
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr "besonders berücksichtigen"
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
#: options.php:240
|
105 |
#@ yarpp
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
551 |
msgid "Related entries may be displayed once you save your entry"
|
552 |
msgstr "Ähnliche Beiträge werden nach dem Speichern angezeigt"
|
553 |
|
|
|
|
|
|
|
|
|
|
|
554 |
#: options.php:272
|
555 |
#: options.php:305
|
556 |
#: options.php:411
|
lang/yarpp-el_CY.po
CHANGED
@@ -219,16 +219,6 @@ msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS
|
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
222 |
-
#: options.php:274
|
223 |
-
#@ yarpp
|
224 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
225 |
-
msgstr "Δωρεά στον Μήτσο (mitcho - Michael Yoshitaka Erlewine) για το plugin αυτό μέσω PayPal"
|
226 |
-
|
227 |
-
#: options.php:276
|
228 |
-
#@ yarpp
|
229 |
-
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
230 |
-
msgstr "Aπό τον <a href=\"http://mitcho.com/code/\">Μήτσο (mitcho - Michael 芳貴 Erlewine)</a>"
|
231 |
-
|
232 |
#: options.php:276
|
233 |
#@ yarpp
|
234 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
#: options.php:276
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
lang/yarpp-el_EL.po
CHANGED
@@ -219,16 +219,6 @@ msgstr "Yet Another Related Posts Plugin ιστορικό εκδόσεων (RSS
|
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
222 |
-
#: options.php:274
|
223 |
-
#@ yarpp
|
224 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
225 |
-
msgstr "Δωρεά στον Μήτσο (mitcho - Michael Yoshitaka Erlewine) για το plugin αυτό μέσω PayPal"
|
226 |
-
|
227 |
-
#: options.php:276
|
228 |
-
#@ yarpp
|
229 |
-
msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
230 |
-
msgstr "Aπό τον <a href=\"http://mitcho.com/code/\">Μήτσο (mitcho - Michael 芳貴 Erlewine)</a>"
|
231 |
-
|
232 |
#: options.php:276
|
233 |
#@ yarpp
|
234 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
219 |
msgid "Yet Another Related Posts Plugin Options"
|
220 |
msgstr "Ρυθμίσεις του Yet Another Related Posts Plugin"
|
221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
#: options.php:276
|
223 |
#@ yarpp
|
224 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
lang/yarpp-es_ES.po
CHANGED
@@ -204,17 +204,6 @@ msgstr "considerar con peso extra"
|
|
204 |
msgid "Yet Another Related Posts Plugin Options"
|
205 |
msgstr "Yet Another Related Posts Plugin Opciones"
|
206 |
|
207 |
-
#@ default
|
208 |
-
#@ yarpp
|
209 |
-
#: options.php:252
|
210 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
211 |
-
msgstr "Hacer Donación a mitcho (Michael Yoshitaka Erlewine) por este plugin via PayPal"
|
212 |
-
|
213 |
-
#@ yarpp
|
214 |
-
#: options.php:255
|
215 |
-
msgid "by <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
216 |
-
msgstr "por <a href=\"http://mitcho.com/\">mitcho (Michael 芳貴 Erlewine)</a>"
|
217 |
-
|
218 |
#@ yarpp
|
219 |
#: options.php:255
|
220 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
204 |
msgid "Yet Another Related Posts Plugin Options"
|
205 |
msgstr "Yet Another Related Posts Plugin Opciones"
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
#@ yarpp
|
208 |
#: options.php:255
|
209 |
msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
|
lang/yarpp-est_EST.po
CHANGED
@@ -129,13 +129,6 @@ msgstr "arvestama"
|
|
129 |
msgid "consider with extra weight"
|
130 |
msgstr "ravitud lisaraskusega"
|
131 |
|
132 |
-
# @ default
|
133 |
-
# @ yarpp
|
134 |
-
#: options-meta-boxes.php:286
|
135 |
-
msgid ""
|
136 |
-
"Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
137 |
-
msgstr "Anneta arendaja mitcho (Michael Yoshitaka Erlewine), kaudu PayPal"
|
138 |
-
|
139 |
# @ yarpp
|
140 |
#: options.php:178
|
141 |
msgid "Yet Another Related Posts Plugin Options"
|
129 |
msgid "consider with extra weight"
|
130 |
msgstr "ravitud lisaraskusega"
|
131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
# @ yarpp
|
133 |
#: options.php:178
|
134 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-fa_IR.po
CHANGED
@@ -105,12 +105,6 @@ msgstr "بیش از یک %s لازم است"
|
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "بسیارمهم در نظر گرفته شود"
|
107 |
|
108 |
-
#: options-meta-boxes.php:286
|
109 |
-
#@ default
|
110 |
-
#@ yarpp
|
111 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
112 |
-
msgstr "کمک مالی به mitcho برای این افزونه از طریق PayPal"
|
113 |
-
|
114 |
#: options.php:178
|
115 |
#@ yarpp
|
116 |
msgid "Yet Another Related Posts Plugin Options"
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "بسیارمهم در نظر گرفته شود"
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
#: options.php:178
|
109 |
#@ yarpp
|
110 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-fr_FR.po
CHANGED
@@ -547,12 +547,6 @@ msgstr "YARPP sur le web"
|
|
547 |
msgid "Review YARPP on WordPress.org"
|
548 |
msgstr "Avis d’utilisateurs YARPP chez WordPress.org"
|
549 |
|
550 |
-
#: options-meta-boxes.php:372
|
551 |
-
#@ default
|
552 |
-
#@ yarpp
|
553 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
554 |
-
msgstr "Faire un don à mitcho (Michael Yoshitaka Erlewine), via PayPal, pour cette extension"
|
555 |
-
|
556 |
#: options-meta-boxes.php:405
|
557 |
#@ yarpp
|
558 |
msgid "Help Improve YARPP"
|
547 |
msgid "Review YARPP on WordPress.org"
|
548 |
msgstr "Avis d’utilisateurs YARPP chez WordPress.org"
|
549 |
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
#: options-meta-boxes.php:405
|
551 |
#@ yarpp
|
552 |
msgid "Help Improve YARPP"
|
lang/yarpp-gb_IR.po
CHANGED
@@ -94,12 +94,6 @@ msgstr "machnamh"
|
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "a mheas le meáchan breise"
|
96 |
|
97 |
-
#: options-meta-boxes.php:286
|
98 |
-
#@ default
|
99 |
-
#@ yarpp
|
100 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
101 |
-
msgstr "Síntiúis a mitcho (Michael Yoshitaka Erlewine) mbreiseán seo trí PayPal"
|
102 |
-
|
103 |
#: options.php:150
|
104 |
#@ yarpp
|
105 |
msgid "Yet Another Related Posts Plugin Options"
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "a mheas le meáchan breise"
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
#: options.php:150
|
98 |
#@ yarpp
|
99 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-ge_KA.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "განიხილე"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "განიხილე დამატებითი წონით"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "შემოწირულობით დაეხმარეთ mitcho (Michael Yoshitaka Erlewine)-ს, PayPal-ის საშუალებით"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "განიხილე დამატებითი წონით"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-gu_IN.po
CHANGED
@@ -101,12 +101,6 @@ msgstr "ધ્યાનમાં"
|
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr "વધારાનું વજન સાથે વિચારણા"
|
103 |
|
104 |
-
#@ default
|
105 |
-
#@ yarpp
|
106 |
-
#: options-meta-boxes.php:286
|
107 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
108 |
-
msgstr "આ પ્લગઈન માટે PAYPAL દ્વારા (mitcho માઈકલ Yoshitaka)"
|
109 |
-
|
110 |
#@ yarpp
|
111 |
#: options.php:178
|
112 |
msgid "Yet Another Related Posts Plugin Options"
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr "વધારાનું વજન સાથે વિચારણા"
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
#@ yarpp
|
105 |
#: options.php:178
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-he_IL.po
CHANGED
@@ -551,12 +551,6 @@ msgstr "אתר האינטרנט של YARPP"
|
|
551 |
msgid "Review YARPP on WordPress.org"
|
552 |
msgstr "כתבו חוות דעת על YARPP ב-WordPress.org"
|
553 |
|
554 |
-
# @ yarpp
|
555 |
-
#: options-meta-boxes.php:372
|
556 |
-
msgid ""
|
557 |
-
"Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
558 |
-
msgstr "תרמו למיצ'ו (מיכאל יושיטקה ארליויין) בעזרת PayPal"
|
559 |
-
|
560 |
#: options-meta-boxes.php:405
|
561 |
msgid "Help Improve YARPP"
|
562 |
msgstr "עזרו לנו לשפר את YARPP"
|
551 |
msgid "Review YARPP on WordPress.org"
|
552 |
msgstr "כתבו חוות דעת על YARPP ב-WordPress.org"
|
553 |
|
|
|
|
|
|
|
|
|
|
|
|
|
554 |
#: options-meta-boxes.php:405
|
555 |
msgid "Help Improve YARPP"
|
556 |
msgstr "עזרו לנו לשפר את YARPP"
|
lang/yarpp-hi_IN.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "विचार"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "अतिरिक्त वजन के साथ विचार"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "दान mitcho को (Michael Yoshitaka Erlewine) पेपैल द्वारा इस प्लगइन के लिए"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "अतिरिक्त वजन के साथ विचार"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-hr.po
CHANGED
@@ -476,14 +476,6 @@ msgstr "YARPP na Webu"
|
|
476 |
msgid "Rate YARPP on WordPress.org"
|
477 |
msgstr "Ocijeni YARPP na WordPress.org"
|
478 |
|
479 |
-
# @ default
|
480 |
-
# @ yarpp
|
481 |
-
#: options-meta-boxes.php:303
|
482 |
-
msgid ""
|
483 |
-
"Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
484 |
-
msgstr ""
|
485 |
-
"Doniraj mitcho (Michael Yoshitaka Erlewine) za ovaj dodatak preko PayPal-a"
|
486 |
-
|
487 |
# @ yarpp
|
488 |
#: options-meta-boxes.php:337
|
489 |
msgid "Contact YARPP"
|
476 |
msgid "Rate YARPP on WordPress.org"
|
477 |
msgstr "Ocijeni YARPP na WordPress.org"
|
478 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
479 |
# @ yarpp
|
480 |
#: options-meta-boxes.php:337
|
481 |
msgid "Contact YARPP"
|
lang/yarpp-hu_HU.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "vegye figyelembe"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "különlegesként kezeld"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Adományozz (Michael Yoshitaka Erlewine) -nek ezért a pluginétt Paypal segítségével"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "különlegesként kezeld"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-id_ID.po
CHANGED
@@ -105,12 +105,6 @@ msgstr "mengharuskan lebih dari satu persamaan dalam %s"
|
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "pertimbangkan dengan berat ekstra"
|
107 |
|
108 |
-
#: options-meta-boxes.php:286
|
109 |
-
#@ default
|
110 |
-
#@ yarpp
|
111 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
112 |
-
msgstr "Donasi ke mitcho (Michael Yoshitaka Erlewine) untuk plugin ini melalui PayPal"
|
113 |
-
|
114 |
#: options.php:178
|
115 |
#@ yarpp
|
116 |
msgid "Yet Another Related Posts Plugin Options"
|
105 |
msgid "consider with extra weight"
|
106 |
msgstr "pertimbangkan dengan berat ekstra"
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
#: options.php:178
|
109 |
#@ yarpp
|
110 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-it_IT.po
CHANGED
@@ -436,12 +436,6 @@ msgstr "YARPP nel Web"
|
|
436 |
msgid "Rate YARPP on WordPress.org"
|
437 |
msgstr "Vota YARPP su WordPress.org"
|
438 |
|
439 |
-
#: options-meta-boxes.php:301
|
440 |
-
#@ default
|
441 |
-
#@ yarpp
|
442 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
443 |
-
msgstr "Effettua una donazione via PayPal per mitcho (Michael Yoshitaka Erlewine) lo sviluppatore di questo plugin"
|
444 |
-
|
445 |
#: options-meta-boxes.php:336
|
446 |
#@ yarpp
|
447 |
msgid "Contact YARPP"
|
436 |
msgid "Rate YARPP on WordPress.org"
|
437 |
msgstr "Vota YARPP su WordPress.org"
|
438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
#: options-meta-boxes.php:336
|
440 |
#@ yarpp
|
441 |
msgid "Contact YARPP"
|
lang/yarpp-ja.po
CHANGED
@@ -575,13 +575,6 @@ msgstr "ウェブサイト"
|
|
575 |
msgid "Review YARPP on WordPress.org"
|
576 |
msgstr "WordPress.org で YARPP の感想を書く"
|
577 |
|
578 |
-
# @ default
|
579 |
-
# @ yarpp
|
580 |
-
#: options-meta-boxes.php:372
|
581 |
-
msgid ""
|
582 |
-
"Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
583 |
-
msgstr "YARPPの作成者(ミッチョ)にPayPalで寄付をする"
|
584 |
-
|
585 |
# @ yarpp
|
586 |
#: options-meta-boxes.php:405
|
587 |
msgid "Help Improve YARPP"
|
575 |
msgid "Review YARPP on WordPress.org"
|
576 |
msgstr "WordPress.org で YARPP の感想を書く"
|
577 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
578 |
# @ yarpp
|
579 |
#: options-meta-boxes.php:405
|
580 |
msgid "Help Improve YARPP"
|
lang/yarpp-kk_KZ.po
CHANGED
@@ -94,12 +94,6 @@ msgstr "Қарау"
|
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "Қосымша салмақпен қарау керек "
|
96 |
|
97 |
-
#: options-meta-boxes.php:286
|
98 |
-
#@ default
|
99 |
-
#@ yarpp
|
100 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
101 |
-
msgstr "Өңдеушіге садаққа ету керек mitcho (Michael Yoshitaka Erlewine)"
|
102 |
-
|
103 |
#: options.php:178
|
104 |
#@ yarpp
|
105 |
msgid "Yet Another Related Posts Plugin Options"
|
94 |
msgid "consider with extra weight"
|
95 |
msgstr "Қосымша салмақпен қарау керек "
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
#: options.php:178
|
98 |
#@ yarpp
|
99 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-ko_KR.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "검토함"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "신중히 검토함"
|
104 |
|
105 |
-
#: options-meta-boxes.php:301
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "이 플러그인을 위해 mitcho (Michael Yoshitaka Erlewine) 에게 페이팔을 통한 기부"
|
110 |
-
|
111 |
#: options.php:139
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "신중히 검토함"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:139
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-lt_LT.po
CHANGED
@@ -153,12 +153,6 @@ msgstr "Turi didelę reikšmę"
|
|
153 |
msgid "Yet Another Related Posts Plugin Options"
|
154 |
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
|
155 |
|
156 |
-
#: options-meta-boxes.php:286
|
157 |
-
#@ default
|
158 |
-
#@ yarpp
|
159 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
160 |
-
msgstr "Paremti įskiepio kūrėją mitcho (Michael Yoshitaka Erlewine) per PayPal"
|
161 |
-
|
162 |
#: options-meta-boxes.php:118
|
163 |
#@ yarpp
|
164 |
msgid "\"The Pool\""
|
153 |
msgid "Yet Another Related Posts Plugin Options"
|
154 |
msgstr "„Yet Another Related Posts Plugin“ įskiepio nuostatos"
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
#: options-meta-boxes.php:118
|
157 |
#@ yarpp
|
158 |
msgid "\"The Pool\""
|
lang/yarpp-lv_LV.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "rassmatrivat'"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "rassmatrivat' s dopolnitel'nym vesom"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Pojertvovat' razrabotchiku mitcho (Michael Yoshitaka Erlewine), cherez PayPal"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "rassmatrivat' s dopolnitel'nym vesom"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-mk-MK.mo
ADDED
Binary file
|
lang/yarpp-mk-MK.po
ADDED
@@ -0,0 +1,617 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Yet Another Related Posts Plugin\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-03-30 21:27+0100\n"
|
7 |
+
"Last-Translator: Diana <diana@wpdiscounts.com>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural= n==1 || n%10==1 ? 0 : 1;\n"
|
13 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
16 |
+
"X-Poedit-Basepath: ../\n"
|
17 |
+
"X-Textdomain-Support: yes\n"
|
18 |
+
"Language: mk_MK\n"
|
19 |
+
"X-Generator: Poedit 1.5.3\n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
|
22 |
+
# @ yarpp
|
23 |
+
#: class-admin.php:55 class-widget.php:7 class-widget.php:59
|
24 |
+
msgid "Related Posts (YARPP)"
|
25 |
+
msgstr "Povrzani postovi (YARPP)"
|
26 |
+
|
27 |
+
# @ yarpp
|
28 |
+
#: class-admin.php:63
|
29 |
+
msgid "Related Posts"
|
30 |
+
msgstr "Povrzani postovi"
|
31 |
+
|
32 |
+
# @ yarpp
|
33 |
+
#: class-cache.php:522
|
34 |
+
msgid "Example post "
|
35 |
+
msgstr "Primeren post"
|
36 |
+
|
37 |
+
# @ yarpp
|
38 |
+
#: class-core.php:586 class-core.php:701 options-meta-boxes.php:229
|
39 |
+
#: options-meta-boxes.php:284
|
40 |
+
#, php-format
|
41 |
+
msgid ""
|
42 |
+
"Related posts brought to you by <a href='%s'>Yet Another Related Posts "
|
43 |
+
"Plugin</a>."
|
44 |
+
msgstr ""
|
45 |
+
"Povrzani postovi doneseni za vas od <a href='%s'>Yet Another Related Posts "
|
46 |
+
"Plugin</a>."
|
47 |
+
|
48 |
+
# @ yarpp
|
49 |
+
#: options.php:46
|
50 |
+
msgid ""
|
51 |
+
"The MyISAM check has been overridden. You may now use the \"consider titles"
|
52 |
+
"\" and \"consider bodies\" relatedness criteria."
|
53 |
+
msgstr ""
|
54 |
+
"Proverata na MyISAM e prepisana. Sega mozete da koristite kriteriite "
|
55 |
+
"povrzani so \"smetaj gi naslovite\" and \"smetaj gi tekstovite\""
|
56 |
+
|
57 |
+
# @ yarpp
|
58 |
+
#: options.php:54
|
59 |
+
#, php-format
|
60 |
+
msgid ""
|
61 |
+
"YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria "
|
62 |
+
"require your <code>%s</code> table to use the <a href='http://dev.mysql.com/"
|
63 |
+
"doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the "
|
64 |
+
"table seems to be using the <code>%s</code> engine. These two options have "
|
65 |
+
"been disabled."
|
66 |
+
msgstr ""
|
67 |
+
" Povrzanosta na \"smetaj gi naslovite\" i \"smetaj gi tekstovite\" na YARPP "
|
68 |
+
"barrat vasata<code>%s</code> tabla da gi upotrebuva <a href='http://dev."
|
69 |
+
"mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, "
|
70 |
+
"no tablate izgleda go upotrebuva <code>%s</code> engine. Ovie dve opcii se "
|
71 |
+
"onevozmozeni."
|
72 |
+
|
73 |
+
# @ yarpp
|
74 |
+
#: options.php:56
|
75 |
+
#, php-format
|
76 |
+
msgid ""
|
77 |
+
"To restore these features, please update your <code>%s</code> table by "
|
78 |
+
"executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = "
|
79 |
+
"MyISAM;</code> . No data will be erased by altering the table's engine, "
|
80 |
+
"although there are performance implications."
|
81 |
+
msgstr ""
|
82 |
+
"Za da gi povratite ovie funkcii, ve molime azurirajte ja vasata <code>%s</"
|
83 |
+
"code> tabla taka sto kje ja izvrsite slednata SQL direktiva: <code>ALTER "
|
84 |
+
"TABLE `%s` ENGINE = MyISAM;</code>. Nikakva data nema da bide izbrisana so "
|
85 |
+
"izmenuvanjeto na prebaruvanjeto, iako kje ima implikacii na performans."
|
86 |
+
|
87 |
+
# @ yarpp
|
88 |
+
#: options.php:58
|
89 |
+
#, php-format
|
90 |
+
msgid ""
|
91 |
+
"If, despite this check, you are sure that <code>%s</code> is using the "
|
92 |
+
"MyISAM engine, press this magic button:"
|
93 |
+
msgstr ""
|
94 |
+
"Dokolku i pokraj ovaa provera ste sigurni deka <code>%s</code> go koristi "
|
95 |
+
"MyISAM engine, kliknete go magicnoto kopce:"
|
96 |
+
|
97 |
+
# @ yarpp
|
98 |
+
#: options.php:61
|
99 |
+
msgid "Trust me. Let me use MyISAM features."
|
100 |
+
msgstr "Veruvaj mi. Dozvoli mi da gi koristam MyISAM funkciite."
|
101 |
+
|
102 |
+
# @ yarpp
|
103 |
+
#: options.php:76
|
104 |
+
msgid "The YARPP database had an error but has been fixed."
|
105 |
+
msgstr "YARPP bazata na podatoci imase greska, ama e ispravena."
|
106 |
+
|
107 |
+
# @ yarpp
|
108 |
+
#: options.php:78
|
109 |
+
msgid "The YARPP database has an error which could not be fixed."
|
110 |
+
msgstr "YARPP bazata na podatoci ima greska koja sto ne moze da se ispravi."
|
111 |
+
|
112 |
+
# @ yarpp
|
113 |
+
#: options.php:135
|
114 |
+
msgid "Options saved!"
|
115 |
+
msgstr "Opciite se socuvani!"
|
116 |
+
|
117 |
+
# @ yarpp
|
118 |
+
#: options-meta-boxes.php:47 options-meta-boxes.php:59
|
119 |
+
msgid "do not consider"
|
120 |
+
msgstr "ne smetaj"
|
121 |
+
|
122 |
+
# @ yarpp
|
123 |
+
#: options-meta-boxes.php:48 options-meta-boxes.php:60
|
124 |
+
msgid "consider"
|
125 |
+
msgstr "smetaj"
|
126 |
+
|
127 |
+
# @ yarpp
|
128 |
+
#: options-meta-boxes.php:50
|
129 |
+
#, php-format
|
130 |
+
msgid "require at least one %s in common"
|
131 |
+
msgstr "baraj barem edna zaednicka %s"
|
132 |
+
|
133 |
+
# @ yarpp
|
134 |
+
#: options-meta-boxes.php:51
|
135 |
+
#, php-format
|
136 |
+
msgid "require more than one %s in common"
|
137 |
+
msgstr "baraj poveke od edna zaednicka %s"
|
138 |
+
|
139 |
+
# @ yarpp
|
140 |
+
#: options-meta-boxes.php:49 options-meta-boxes.php:61
|
141 |
+
msgid "consider with extra weight"
|
142 |
+
msgstr "smetaj so ekstra tezina"
|
143 |
+
|
144 |
+
# @ yarpp
|
145 |
+
#: options.php:141
|
146 |
+
msgid "Yet Another Related Posts Plugin Options"
|
147 |
+
msgstr "Yet Another Related Posts Plugin Options"
|
148 |
+
|
149 |
+
# @ yarpp
|
150 |
+
#: options-meta-boxes.php:147
|
151 |
+
msgid "\"The Pool\""
|
152 |
+
msgstr "\"Listata\""
|
153 |
+
|
154 |
+
# @ yarpp
|
155 |
+
#: options-meta-boxes.php:109
|
156 |
+
msgid ""
|
157 |
+
"\"The Pool\" refers to the pool of posts and pages that are candidates for "
|
158 |
+
"display as related to the current entry."
|
159 |
+
msgstr ""
|
160 |
+
"\"Listata\" se odnesuva na lista na postovi i stranici koi se kandidati za "
|
161 |
+
"prikazuvanje kako povrzani so momentalnoto vnesuvanje."
|
162 |
+
|
163 |
+
# @ yarpp
|
164 |
+
#: options-meta-boxes.php:118
|
165 |
+
msgid "Show password protected posts?"
|
166 |
+
msgstr "Prikazi gi postovite zastiteni so sifra?"
|
167 |
+
|
168 |
+
# @ yarpp
|
169 |
+
#: options-meta-boxes.php:170
|
170 |
+
msgid "Show only previous posts?"
|
171 |
+
msgstr "Prikazi gi samo prethodnite postovi?"
|
172 |
+
|
173 |
+
# @ yarpp
|
174 |
+
#: options-meta-boxes.php:129
|
175 |
+
msgid "day(s)"
|
176 |
+
msgstr "den(ovi)"
|
177 |
+
|
178 |
+
# @ yarpp
|
179 |
+
#: options-meta-boxes.php:130
|
180 |
+
msgid "week(s)"
|
181 |
+
msgstr "nedela/i"
|
182 |
+
|
183 |
+
# @ yarpp
|
184 |
+
#: options-meta-boxes.php:131
|
185 |
+
msgid "month(s)"
|
186 |
+
msgstr "mesec/i"
|
187 |
+
|
188 |
+
# @ yarpp
|
189 |
+
#: options-meta-boxes.php:137
|
190 |
+
msgid "Show only posts from the past NUMBER UNITS"
|
191 |
+
msgstr "Prikazi gi samo postovite od prethodnite NUMERICKI EDINICI "
|
192 |
+
|
193 |
+
# @ yarpp
|
194 |
+
#: options-meta-boxes.php:178
|
195 |
+
msgid "\"Relatedness\" options"
|
196 |
+
msgstr "\"Povrzanost\" opcii"
|
197 |
+
|
198 |
+
# @ yarpp
|
199 |
+
#: options-meta-boxes.php:17 options-meta-boxes.php:113
|
200 |
+
#: options-meta-boxes.php:153 options-meta-boxes.php:169
|
201 |
+
#: options-meta-boxes.php:187 options-meta-boxes.php:228
|
202 |
+
#: options-meta-boxes.php:245 options-meta-boxes.php:247
|
203 |
+
#: options-meta-boxes.php:283
|
204 |
+
msgid "more>"
|
205 |
+
msgstr "poveke>"
|
206 |
+
|
207 |
+
# @ yarpp
|
208 |
+
#: options-meta-boxes.php:153
|
209 |
+
msgid ""
|
210 |
+
"The higher the match threshold, the more restrictive, and you get less "
|
211 |
+
"related posts overall. The default match threshold is 5. If you want to find "
|
212 |
+
"an appropriate match threshhold, take a look at some post's related posts "
|
213 |
+
"display and their scores. You can see what kinds of related posts are being "
|
214 |
+
"picked up and with what kind of match scores, and determine an appropriate "
|
215 |
+
"threshold for your site."
|
216 |
+
msgstr ""
|
217 |
+
"Sto poveke podudaranja, toa porestriktivni ke bidat, i dobivate pomalku "
|
218 |
+
"srodni temi vo celina. Standardnoto podudaranje e 5. Ako sakate da najdete "
|
219 |
+
"soodvetno podudaranje, poglednete gi prikazanite postovi na nekoi od "
|
220 |
+
"prethodnite postovi i nivnite rezultati. Ke vidite kakvi vrsti na povrzani "
|
221 |
+
"postovi se izbrani i kakva im e podudarnosta, i ke mozete da odredite "
|
222 |
+
"soodvetno podudaranje za vasiot sajt. "
|
223 |
+
|
224 |
+
# @ yarpp
|
225 |
+
#: options-meta-boxes.php:159
|
226 |
+
msgid "Match threshold:"
|
227 |
+
msgstr "Podudarna vrednost"
|
228 |
+
|
229 |
+
# @ yarpp
|
230 |
+
#: options-meta-boxes.php:160
|
231 |
+
msgid "Titles: "
|
232 |
+
msgstr "Naslovi:"
|
233 |
+
|
234 |
+
# @ yarpp
|
235 |
+
#: options-meta-boxes.php:162
|
236 |
+
msgid "Bodies: "
|
237 |
+
msgstr "Tekstovi:"
|
238 |
+
|
239 |
+
# @ yarpp
|
240 |
+
#: options.php:38
|
241 |
+
#, php-format
|
242 |
+
msgid ""
|
243 |
+
"There is a new beta (%s) of Yet Another Related Posts Plugin. You can <a "
|
244 |
+
"href=\"%s\">download it here</a> at your own risk."
|
245 |
+
msgstr ""
|
246 |
+
"Postoi nova beta (%s) na Yet Another Related Posts Plugin. Mozete da go <a "
|
247 |
+
"href=\"%s\"> prezemete tuka na sopstvena odgovornost. "
|
248 |
+
|
249 |
+
# @ yarpp
|
250 |
+
#: options-meta-boxes.php:236
|
251 |
+
msgid "Display options <small>for your website</small>"
|
252 |
+
msgstr "Prikazi gi opciite <small>za vasiot websajt</small> "
|
253 |
+
|
254 |
+
# @ yarpp
|
255 |
+
#: options-meta-boxes.php:187
|
256 |
+
msgid "Automatically display related posts?"
|
257 |
+
msgstr "Avtomatsko prikazuvanje na povrzani postovi?"
|
258 |
+
|
259 |
+
# @ yarpp
|
260 |
+
#: options-meta-boxes.php:187
|
261 |
+
msgid ""
|
262 |
+
"This option automatically displays related posts right after the content on "
|
263 |
+
"single entry pages. If this option is off, you will need to manually insert "
|
264 |
+
"<code>related_posts()</code> or variants (<code>related_pages()</code> and "
|
265 |
+
"<code>related_entries()</code>) into your theme files."
|
266 |
+
msgstr ""
|
267 |
+
"Ovaa opcija avotmatski gi prikazuva povrzanite postovi odma posle sodrzajot "
|
268 |
+
"na sekoja vnesena strana. Dokolku ovaa opcija e isklucena, ke morate racno "
|
269 |
+
"da gi vnesete <code>povrzani_postovi()</code> ili varijantite "
|
270 |
+
"(<code>povrzani_stranici()</code> i <code>povrzani_vnesuvanja()</code>) vo "
|
271 |
+
"vasite fajlovi na tema."
|
272 |
+
|
273 |
+
# @ yarpp
|
274 |
+
#: options-meta-boxes.php:188
|
275 |
+
msgid "Website display code example"
|
276 |
+
msgstr "Primer na prikazot na websajt kodot"
|
277 |
+
|
278 |
+
# @ yarpp
|
279 |
+
#: options-meta-boxes.php:188 options-meta-boxes.php:245
|
280 |
+
msgid "(Update options to reload.)"
|
281 |
+
msgstr "(Azurirajte gi opciite za da ja vcitate stranata povtorno)"
|
282 |
+
|
283 |
+
# @ yarpp
|
284 |
+
#: options-meta-boxes.php:190 options-meta-boxes.php:250
|
285 |
+
msgid "Maximum number of related posts:"
|
286 |
+
msgstr "Maksimalen broj na povrzani postovi:"
|
287 |
+
|
288 |
+
# @ yarpp
|
289 |
+
#: class-widget.php:75 options-meta-boxes.php:17
|
290 |
+
msgid "Display using a custom template file"
|
291 |
+
msgstr "Prikazi koristejki prilagodena definirana datoteka"
|
292 |
+
|
293 |
+
# @ yarpp
|
294 |
+
#: options-meta-boxes.php:17
|
295 |
+
msgid ""
|
296 |
+
"This advanced option gives you full power to customize how your related "
|
297 |
+
"posts are displayed. Templates (stored in your theme folder) are written in "
|
298 |
+
"PHP."
|
299 |
+
msgstr ""
|
300 |
+
"Ovaa napredna opcija vi dava polnomok da prilagodite kako ke bidat prikazani "
|
301 |
+
"vasite povrzani postovi. Definiciite (socuvani vo vasiot folder od tema) se "
|
302 |
+
"napisani vo PHP."
|
303 |
+
|
304 |
+
# @ yarpp
|
305 |
+
#: class-widget.php:76 options-meta-boxes.php:196 options-meta-boxes.php:258
|
306 |
+
msgid "Template file:"
|
307 |
+
msgstr "Datoteka na definicija:"
|
308 |
+
|
309 |
+
# @ yarpp
|
310 |
+
#: options-meta-boxes.php:208 options-meta-boxes.php:271
|
311 |
+
msgid "Before / after related entries:"
|
312 |
+
msgstr "Pred/Posle povrzani vnesuvanja:"
|
313 |
+
|
314 |
+
# @ yarpp
|
315 |
+
#: options-meta-boxes.php:208 options-meta-boxes.php:209
|
316 |
+
#: options-meta-boxes.php:217 options-meta-boxes.php:271
|
317 |
+
#: options-meta-boxes.php:272 options-meta-boxes.php:277
|
318 |
+
msgid "For example:"
|
319 |
+
msgstr "Na primer:"
|
320 |
+
|
321 |
+
# @ yarpp
|
322 |
+
#: options-meta-boxes.php:209 options-meta-boxes.php:272
|
323 |
+
msgid "Before / after each related entry:"
|
324 |
+
msgstr "Pred/Posle sekoe povrzano vnesuvanje:"
|
325 |
+
|
326 |
+
# @ yarpp
|
327 |
+
#: options-meta-boxes.php:211 options-meta-boxes.php:274
|
328 |
+
msgid "Show excerpt?"
|
329 |
+
msgstr "Prikazi go izvodot?"
|
330 |
+
|
331 |
+
# @ yarpp
|
332 |
+
#: options-meta-boxes.php:212 options-meta-boxes.php:275
|
333 |
+
msgid "Excerpt length (No. of words):"
|
334 |
+
msgstr "Dolzina na izvodot (borj na zborovi):"
|
335 |
+
|
336 |
+
# @ yarpp
|
337 |
+
#: options-meta-boxes.php:216
|
338 |
+
msgid "Before / after (Excerpt):"
|
339 |
+
msgstr "Pred/Posle (Izvod):"
|
340 |
+
|
341 |
+
# @ yarpp
|
342 |
+
#: options-meta-boxes.php:68
|
343 |
+
msgid "Order results:"
|
344 |
+
msgstr "Poredi gi rezultatite:"
|
345 |
+
|
346 |
+
# @ yarpp
|
347 |
+
#: options-meta-boxes.php:71
|
348 |
+
msgid "score (high relevance to low)"
|
349 |
+
msgstr "rezultat (od visoka naprema niska vaznost)"
|
350 |
+
|
351 |
+
# @ yarpp
|
352 |
+
#: options-meta-boxes.php:72
|
353 |
+
msgid "score (low relevance to high)"
|
354 |
+
msgstr "rezultat (od niska naprema visoka vaznost)"
|
355 |
+
|
356 |
+
# @ yarpp
|
357 |
+
#: options-meta-boxes.php:73
|
358 |
+
msgid "date (new to old)"
|
359 |
+
msgstr "data (od novo naprema staro)"
|
360 |
+
|
361 |
+
# @ yarpp
|
362 |
+
#: options-meta-boxes.php:74
|
363 |
+
msgid "date (old to new)"
|
364 |
+
msgstr "data (stao naprema novo)"
|
365 |
+
|
366 |
+
# @ yarpp
|
367 |
+
#: options-meta-boxes.php:75
|
368 |
+
msgid "title (alphabetical)"
|
369 |
+
msgstr "naslov (alfabetski)"
|
370 |
+
|
371 |
+
# @ yarpp
|
372 |
+
#: options-meta-boxes.php:76
|
373 |
+
msgid "title (reverse alphabetical)"
|
374 |
+
msgstr "naslov (obratno alfabetski)"
|
375 |
+
|
376 |
+
# @ yarpp
|
377 |
+
#: options-meta-boxes.php:224 options-meta-boxes.php:281
|
378 |
+
msgid "Default display if no results:"
|
379 |
+
msgstr "Podrazbirano prikazuvanje dokolku nema rezultati:"
|
380 |
+
|
381 |
+
# @ yarpp
|
382 |
+
#: class-widget.php:98 options-meta-boxes.php:227 options-meta-boxes.php:283
|
383 |
+
msgid "Help promote Yet Another Related Posts Plugin?"
|
384 |
+
msgstr "Pomogni vo promocija na Yet Another Related Posts Plugin?"
|
385 |
+
|
386 |
+
# @ yarpp
|
387 |
+
#: options-meta-boxes.php:229 options-meta-boxes.php:284
|
388 |
+
#, php-format
|
389 |
+
msgid ""
|
390 |
+
"This option will add the code %s. Try turning it on, updating your options, "
|
391 |
+
"and see the code in the code example to the right. These links and donations "
|
392 |
+
"are greatly appreciated."
|
393 |
+
msgstr ""
|
394 |
+
"Ovaa opcija ke go dodate kodot %s. Probajte da ja ukljucite taka sto ke gi "
|
395 |
+
"azurirate vasite opcii, i poglednete go kodot vo primerok na kodot na desna "
|
396 |
+
"strana. Ovie linkovi i donacii se mnogu ceneti. "
|
397 |
+
|
398 |
+
# @ yarpp
|
399 |
+
#: options-meta-boxes.php:291
|
400 |
+
msgid "Display options <small>for RSS</small>"
|
401 |
+
msgstr "Prikazi opcii za <small>za RSS</small>"
|
402 |
+
|
403 |
+
# @ yarpp
|
404 |
+
#: options-meta-boxes.php:245
|
405 |
+
msgid "Display related posts in feeds?"
|
406 |
+
msgstr "Prikazi g povrzanite postovi vo novostite?"
|
407 |
+
|
408 |
+
# @ yarpp
|
409 |
+
#: options-meta-boxes.php:245
|
410 |
+
msgid ""
|
411 |
+
"This option displays related posts at the end of each item in your RSS and "
|
412 |
+
"Atom feeds. No template changes are needed."
|
413 |
+
msgstr ""
|
414 |
+
"Ovaa opcija gi prikazuva povrzanite postovi na kraj na sekoja stavka vo "
|
415 |
+
"vasite RSS i Atom novosti (kolumni). Ne se potrebni nikakvi izmeni na "
|
416 |
+
"definicii. "
|
417 |
+
|
418 |
+
# @ yarpp
|
419 |
+
#: options-meta-boxes.php:247
|
420 |
+
msgid "Display related posts in the descriptions?"
|
421 |
+
msgstr "Prikazi gi povrzanite postovi vo opisite?"
|
422 |
+
|
423 |
+
# @ yarpp
|
424 |
+
#: options-meta-boxes.php:247
|
425 |
+
msgid ""
|
426 |
+
"This option displays the related posts in the RSS description fields, not "
|
427 |
+
"just the content. If your feeds are set up to only display excerpts, "
|
428 |
+
"however, only the description field is used, so this option is required for "
|
429 |
+
"any display at all."
|
430 |
+
msgstr ""
|
431 |
+
"Ovaa opcija gi prikazuva povrzanite postovi vo RSS polinjata za deskripcija, "
|
432 |
+
"ne samo vo sodrzajot. Dokolku vasite polinja se podeseni da prikazuvaat "
|
433 |
+
"izvodi, vrpocem, samo poleto za opis (deskripcija) se koristi, taka ovaa "
|
434 |
+
"opcija e potrebna za bilo koe prikazuvanje."
|
435 |
+
|
436 |
+
# @ yarpp
|
437 |
+
#: options-meta-boxes.php:245
|
438 |
+
msgid "RSS display code example"
|
439 |
+
msgstr "Primer na RSS prikazuvanje na kodot"
|
440 |
+
|
441 |
+
# @ yarpp
|
442 |
+
#: options-meta-boxes.php:277
|
443 |
+
msgid "Before / after (excerpt):"
|
444 |
+
msgstr "Pred/Posle (izvod)"
|
445 |
+
|
446 |
+
# @ yarpp
|
447 |
+
#: template-builtin.php:21
|
448 |
+
#, php-format
|
449 |
+
msgid ""
|
450 |
+
"%f is the YARPP match score between the current entry and this related "
|
451 |
+
"entry. You are seeing this value because you are logged in to WordPress as "
|
452 |
+
"an administrator. It is not shown to regular visitors."
|
453 |
+
msgstr ""
|
454 |
+
"%f e YARPP rezultat na podudaranje pomegu momentalniot vnes i ovoj povrzan "
|
455 |
+
"vnes. Ja gledate ovaa vrednost zatoa sto ste logirani na WordPress kako "
|
456 |
+
"administrator. Ne e prikazana na regularni posetiteli."
|
457 |
+
|
458 |
+
# @ yarpp
|
459 |
+
#: template-metabox.php:12
|
460 |
+
msgid ""
|
461 |
+
"These are the related entries for this entry. Updating this post may change "
|
462 |
+
"these related posts."
|
463 |
+
msgstr ""
|
464 |
+
"Ova se povrzanite vnesuvanja so ova vnesuvanje. Azuriranje na ovoj post moze "
|
465 |
+
"da gi izmeni ovie povrzani postovi. "
|
466 |
+
|
467 |
+
# @ yarpp
|
468 |
+
#: template-metabox.php:28
|
469 |
+
msgid ""
|
470 |
+
"Whether all of these related entries are actually displayed and how they are "
|
471 |
+
"displayed depends on your YARPP display options."
|
472 |
+
msgstr ""
|
473 |
+
"Da li ovie povrzani postovi ke bidat prikazani i kako ke bidat prikazani "
|
474 |
+
"zavisi od vasite YARPP opcii za prikazuvanje."
|
475 |
+
|
476 |
+
# @ yarpp
|
477 |
+
#: class-core.php:73 class-core.php:83 class-core.php:273 class-core.php:284
|
478 |
+
#: template-metabox.php:30 template-widget.php:13
|
479 |
+
msgid "No related posts."
|
480 |
+
msgstr "Nema povrzani postovi."
|
481 |
+
|
482 |
+
# @ yarpp
|
483 |
+
#: class-core.php:71 class-core.php:81 class-core.php:271 class-core.php:282
|
484 |
+
msgid "Related posts:"
|
485 |
+
msgstr "Povrzani postovi:"
|
486 |
+
|
487 |
+
# @ yarpp
|
488 |
+
#: options-meta-boxes.php:208 options-meta-boxes.php:209
|
489 |
+
#: options-meta-boxes.php:217 options-meta-boxes.php:271
|
490 |
+
#: options-meta-boxes.php:272 options-meta-boxes.php:277
|
491 |
+
msgid " or "
|
492 |
+
msgstr "ili"
|
493 |
+
|
494 |
+
# @ default
|
495 |
+
#: class-admin.php:136
|
496 |
+
msgid "Settings"
|
497 |
+
msgstr "Podesuvanja"
|
498 |
+
|
499 |
+
# @ default
|
500 |
+
#: class-widget.php:69
|
501 |
+
msgid "Title:"
|
502 |
+
msgstr "Naslov:"
|
503 |
+
|
504 |
+
# @ yarpp
|
505 |
+
#: class-admin.php:162
|
506 |
+
msgid "Related entries may be displayed once you save your entry"
|
507 |
+
msgstr ""
|
508 |
+
"Povrzani postovi moze da bidat prikazani koga ke go socivate svoeto "
|
509 |
+
"vnesuvanje."
|
510 |
+
|
511 |
+
# @ yarpp
|
512 |
+
#: options-meta-boxes.php:153
|
513 |
+
msgid ""
|
514 |
+
"YARPP limits the related posts list by (1) a maximum number and (2) a "
|
515 |
+
"<em>match threshold</em>."
|
516 |
+
msgstr ""
|
517 |
+
"YARPP ja ogranicuva listata na povrzani postovi so (1) maksimum broj i (2) "
|
518 |
+
"na <em>podudarna vrednost</em>."
|
519 |
+
|
520 |
+
# @ yarpp
|
521 |
+
#: options-meta-boxes.php:298
|
522 |
+
msgid "YARPP Forum"
|
523 |
+
msgstr "YARPP Forum"
|
524 |
+
|
525 |
+
# @ yarpp
|
526 |
+
#: options-meta-boxes.php:299
|
527 |
+
msgid "YARPP on Twitter"
|
528 |
+
msgstr "YARPP na Twitter"
|
529 |
+
|
530 |
+
# @ yarpp
|
531 |
+
#: options-meta-boxes.php:300
|
532 |
+
msgid "YARPP on the Web"
|
533 |
+
msgstr "YARPP na Web"
|
534 |
+
|
535 |
+
# @ yarpp
|
536 |
+
#: options-meta-boxes.php:337
|
537 |
+
msgid "Contact YARPP"
|
538 |
+
msgstr "YARPP kontakt"
|
539 |
+
|
540 |
+
# @ default
|
541 |
+
#: options.php:34
|
542 |
+
#, php-format
|
543 |
+
msgid ""
|
544 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
|
545 |
+
"\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update "
|
546 |
+
"automatically</a>."
|
547 |
+
msgstr ""
|
548 |
+
"Postoi nova verzija na %1$s. <a href=\"%2$s\" class=\"thickbox\" title=\"%3$s"
|
549 |
+
"\">View version %4$s details</a> ili <a href=\"%5$s\">update automatically</"
|
550 |
+
"a>."
|
551 |
+
|
552 |
+
# @ yarpp
|
553 |
+
#: options.php:79
|
554 |
+
#, php-format
|
555 |
+
msgid "Please try <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
556 |
+
msgstr "Molam probajte <a href=\"%s\" target=\"_blank\">manual SQL setup</a>."
|
557 |
+
|
558 |
+
# @ yarpp
|
559 |
+
#: options.php:149
|
560 |
+
#, php-format
|
561 |
+
msgid "by <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
562 |
+
msgstr "od <a href=\"%s\" target=\"_blank\">mitcho (Michael 芳貴 Erlewine)</a>"
|
563 |
+
|
564 |
+
# @ default
|
565 |
+
#: class-admin.php:63
|
566 |
+
msgid "Configure"
|
567 |
+
msgstr "Konfiguriraj"
|
568 |
+
|
569 |
+
# @ yarpp
|
570 |
+
#: class-admin.php:89
|
571 |
+
msgid "Thank you for installing <span>Yet Another Related Posts Plugin</span>!"
|
572 |
+
msgstr "Fala za instaliranje na <span>Yet Another Related Posts Plugin</span>!"
|
573 |
+
|
574 |
+
# @ yarpp
|
575 |
+
#: class-admin.php:90
|
576 |
+
msgid ""
|
577 |
+
"Make sure to visit the <a>Related Posts settings page</a> to customize YARPP."
|
578 |
+
msgstr ""
|
579 |
+
"Posetete <a>Povrzani Postovi stranica za podesuvanja</a> za da go podesite "
|
580 |
+
"YARPP."
|
581 |
+
|
582 |
+
# @ yarpp
|
583 |
+
#: options-meta-boxes.php:113
|
584 |
+
msgid "Post types considered:"
|
585 |
+
msgstr "Vrsti na postovi zemeni vo obzir:"
|
586 |
+
|
587 |
+
# @ yarpp
|
588 |
+
#: options-meta-boxes.php:116
|
589 |
+
#, php-format
|
590 |
+
msgid "Disallow by %s:"
|
591 |
+
msgstr "Onevozmozi za %s:"
|
592 |
+
|
593 |
+
# @ yarpp
|
594 |
+
#: options-meta-boxes.php:169
|
595 |
+
msgid "Display results from all post types"
|
596 |
+
msgstr "Prikazi gi rezultati za site tipovi na postovi "
|
597 |
+
|
598 |
+
# @ yarpp
|
599 |
+
#: options-meta-boxes.php:169
|
600 |
+
msgid ""
|
601 |
+
"When \"display results from all post types\" is off, only posts will be "
|
602 |
+
"displayed as related to a post, only pages will be displayed as related to a "
|
603 |
+
"page, etc."
|
604 |
+
msgstr ""
|
605 |
+
"Koga \"prikazi gi rezultati za site tipovi na postovi\" e isklucena, samo "
|
606 |
+
"postovi ke bidat prkazani povrzani so post, samo stranici ke bidat prikazani "
|
607 |
+
"povrzani so stranica, itd. "
|
608 |
+
|
609 |
+
# @ yarpp
|
610 |
+
#: options-meta-boxes.php:301
|
611 |
+
msgid "Rate YARPP on WordPress.org"
|
612 |
+
msgstr "Oceni go YARPP na WordPress.org"
|
613 |
+
|
614 |
+
# @ default
|
615 |
+
#: options.php:178
|
616 |
+
msgid "Save Changes"
|
617 |
+
msgstr "Socuvaj gi izmenite"
|
lang/yarpp-nb_NO.po
CHANGED
@@ -186,12 +186,6 @@ msgstr "vurder med ekstra vekt"
|
|
186 |
msgid "Yet Another Related Posts Plugin Options"
|
187 |
msgstr "Yet Another Related Posts Plugin innstillinger"
|
188 |
|
189 |
-
#: options-meta-boxes.php:286
|
190 |
-
#@ default
|
191 |
-
#@ yarpp
|
192 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
193 |
-
msgstr "Donèr til mitcho (Michael Yoshitaka Erlewine) for denne utvidelsen via PayPal"
|
194 |
-
|
195 |
#: options-meta-boxes.php:118
|
196 |
#@ yarpp
|
197 |
msgid "\"The Pool\""
|
186 |
msgid "Yet Another Related Posts Plugin Options"
|
187 |
msgstr "Yet Another Related Posts Plugin innstillinger"
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
#: options-meta-boxes.php:118
|
190 |
#@ yarpp
|
191 |
msgid "\"The Pool\""
|
lang/yarpp-nl_NL.po
CHANGED
@@ -123,12 +123,6 @@ msgstr "overweeg met extra gewicht"
|
|
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\""
|
123 |
msgid "Yet Another Related Posts Plugin Options"
|
124 |
msgstr "Yet Another Related Posts Plugin opties"
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
#: options-meta-boxes.php:147
|
127 |
#@ yarpp
|
128 |
msgid "\"The Pool\""
|
lang/yarpp-pl_PL.po
CHANGED
@@ -573,15 +573,6 @@ msgstr "YARPP w Sieci"
|
|
573 |
msgid "Review YARPP on WordPress.org"
|
574 |
msgstr "Oceń YARPP na WordPress.org"
|
575 |
|
576 |
-
# @ default
|
577 |
-
# @ yarpp
|
578 |
-
#: ../options-meta-boxes.php:372
|
579 |
-
msgid ""
|
580 |
-
"Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
581 |
-
msgstr ""
|
582 |
-
"Przekaż darowiznę mitcho (Michael Yoshitaka Erlewine) - autorowi plugina - "
|
583 |
-
"za pomocą PayPal"
|
584 |
-
|
585 |
#: ../options-meta-boxes.php:405
|
586 |
msgid "Help Improve YARPP"
|
587 |
msgstr "Pomóż ulepszać YARPP"
|
573 |
msgid "Review YARPP on WordPress.org"
|
574 |
msgstr "Oceń YARPP na WordPress.org"
|
575 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
#: ../options-meta-boxes.php:405
|
577 |
msgid "Help Improve YARPP"
|
578 |
msgstr "Pomóż ulepszać YARPP"
|
lang/yarpp-pt_BR.po
CHANGED
@@ -136,12 +136,6 @@ msgstr "requerer mais de uma %s em comum"
|
|
136 |
msgid "consider with extra weight"
|
137 |
msgstr "considerar com peso extra"
|
138 |
|
139 |
-
#: options-meta-boxes.php:286
|
140 |
-
#@ default
|
141 |
-
#@ yarpp
|
142 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
143 |
-
msgstr "Doar ao mitcho (Michael Yoshitaka Erlewine) via PayPal para este plugin"
|
144 |
-
|
145 |
#: options.php:178
|
146 |
#@ yarpp
|
147 |
msgid "Yet Another Related Posts Plugin Options"
|
136 |
msgid "consider with extra weight"
|
137 |
msgstr "considerar com peso extra"
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
#: options.php:178
|
140 |
#@ yarpp
|
141 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-pt_PT.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "ter em conta"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "ter especialmente em conta"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Fazer uma doação via PayPal a mitcho (Michael Yoshitaka Erlewine) pelo desenvolvimento do plugin"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "ter especialmente em conta"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-ro_RO.po
CHANGED
@@ -101,12 +101,6 @@ msgstr "a lua în considerare"
|
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr " a lua în considerare cu greutate suplimentară "
|
103 |
|
104 |
-
#@ default
|
105 |
-
#@ yarpp
|
106 |
-
#: options-meta-boxes.php:286
|
107 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
108 |
-
msgstr "A dona producătorului mitcho (Michael Yoshitaka Erlewine), prin PayPal"
|
109 |
-
|
110 |
#@ yarpp
|
111 |
#: options.php:178
|
112 |
msgid "Yet Another Related Posts Plugin Options"
|
101 |
msgid "consider with extra weight"
|
102 |
msgstr " a lua în considerare cu greutate suplimentară "
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
#@ yarpp
|
105 |
#: options.php:178
|
106 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-ru_RU.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "рассматривать"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "рассматривать с дополнительным весом"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Пожертвовать разработчику mitcho (Michael Yoshitaka Erlewine), через PayPal"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "рассматривать с дополнительным весом"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-sk_SK.po
CHANGED
@@ -437,12 +437,6 @@ msgstr "YARPP na Webe"
|
|
437 |
msgid "Rate YARPP on WordPress.org"
|
438 |
msgstr "Ohodnoťte plugin YARPP na stránke WordPress.org"
|
439 |
|
440 |
-
#: options-meta-boxes.php:275
|
441 |
-
#@ default
|
442 |
-
#@ yarpp
|
443 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
444 |
-
msgstr "Poslať finančný prispevok autorovi pluginu - mitchovi (Michael Yoshitaka Erlewine) cez PayPal."
|
445 |
-
|
446 |
#: options-meta-boxes.php:310
|
447 |
#@ yarpp
|
448 |
msgid "Contact YARPP"
|
437 |
msgid "Rate YARPP on WordPress.org"
|
438 |
msgstr "Ohodnoťte plugin YARPP na stránke WordPress.org"
|
439 |
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
#: options-meta-boxes.php:310
|
441 |
#@ yarpp
|
442 |
msgid "Contact YARPP"
|
lang/yarpp-sl_SI.po
CHANGED
@@ -547,11 +547,6 @@ msgstr "YARPP na spletu"
|
|
547 |
msgid "Review YARPP on WordPress.org"
|
548 |
msgstr "Oceni YARPP na WordPress.org"
|
549 |
|
550 |
-
#: options-meta-boxes.php:372
|
551 |
-
#@ default
|
552 |
-
#@ yarpp
|
553 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
554 |
-
msgstr "Doniraj mitcho-tu (Michael Yoshitaka Erlewine) za ta plugin preko PayPal-a"
|
555 |
|
556 |
#: options-meta-boxes.php:405
|
557 |
#@ yarpp
|
547 |
msgid "Review YARPP on WordPress.org"
|
548 |
msgstr "Oceni YARPP na WordPress.org"
|
549 |
|
|
|
|
|
|
|
|
|
|
|
550 |
|
551 |
#: options-meta-boxes.php:405
|
552 |
#@ yarpp
|
lang/yarpp-sr_RS.po
CHANGED
@@ -436,12 +436,6 @@ msgstr "YARPP na netu"
|
|
436 |
msgid "Rate YARPP on WordPress.org"
|
437 |
msgstr "Ocenite YARPP na WordPress.org"
|
438 |
|
439 |
-
#: options-meta-boxes.php:302
|
440 |
-
#@ default
|
441 |
-
#@ yarpp
|
442 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
443 |
-
msgstr "Donirajte mitcho-u (Michael Yoshitaka Erlewine) za ovaj plugin putem PayPal-a"
|
444 |
-
|
445 |
#: options-meta-boxes.php:337
|
446 |
#@ yarpp
|
447 |
msgid "Contact YARPP"
|
436 |
msgid "Rate YARPP on WordPress.org"
|
437 |
msgstr "Ocenite YARPP na WordPress.org"
|
438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
#: options-meta-boxes.php:337
|
440 |
#@ yarpp
|
441 |
msgid "Contact YARPP"
|
lang/yarpp-sv_SE.po
CHANGED
@@ -431,12 +431,6 @@ msgstr "YARPP på www"
|
|
431 |
msgid "Rate YARPP on WordPress.org"
|
432 |
msgstr "Betygsätt YARPP på WordPress.org"
|
433 |
|
434 |
-
# @ default
|
435 |
-
# @ yarpp
|
436 |
-
#: options-meta-boxes.php:301
|
437 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
438 |
-
msgstr "Skänk pengar till mitcho (Michael Yoshitaka Erlewine) som tack för utvecklingen av detta tillägg via PayPal"
|
439 |
-
|
440 |
# @ yarpp
|
441 |
#: options-meta-boxes.php:336
|
442 |
msgid "Contact YARPP"
|
431 |
msgid "Rate YARPP on WordPress.org"
|
432 |
msgstr "Betygsätt YARPP på WordPress.org"
|
433 |
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
# @ yarpp
|
435 |
#: options-meta-boxes.php:336
|
436 |
msgid "Contact YARPP"
|
lang/yarpp-tr_TR.po
CHANGED
@@ -159,12 +159,6 @@ msgstr "daha çok göz önünde bulundur"
|
|
159 |
msgid "Yet Another Related Posts Plugin Options"
|
160 |
msgstr "Yet Another Related Posts Ayarları"
|
161 |
|
162 |
-
#@ default
|
163 |
-
#@ yarpp
|
164 |
-
#: options-meta-boxes.php:286
|
165 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
166 |
-
msgstr "Bu eklentinin yazarına (Michael Yoshitaka Erlewine) PayPal ile bağış yap"
|
167 |
-
|
168 |
#@ yarpp
|
169 |
#: options-meta-boxes.php:118
|
170 |
msgid "\"The Pool\""
|
159 |
msgid "Yet Another Related Posts Plugin Options"
|
160 |
msgstr "Yet Another Related Posts Ayarları"
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
#@ yarpp
|
163 |
#: options-meta-boxes.php:118
|
164 |
msgid "\"The Pool\""
|
lang/yarpp-uk_UA.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "розглядати"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "розглядати з додатковою вагою"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Пожертвувати розробникові mitcho (Michael Yoshitaka Erlewine), через PayPal"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "розглядати з додатковою вагою"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-uz_UZ.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "hisobga olinsin"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "qo'shimchalar bilan hisobga olmoq"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "Plagin uchun mitcho (Michael Yoshitaka Erlewine)ga PayPal orqali pul hadya qilmoq"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "qo'shimchalar bilan hisobga olmoq"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-vi_VN.po
CHANGED
@@ -155,12 +155,6 @@ msgstr "xem xét với mức độ quan trọng đặc biệt"
|
|
155 |
msgid "Yet Another Related Posts Plugin Options"
|
156 |
msgstr " Tùy chọn của Yet Another Related Posts Plugin"
|
157 |
|
158 |
-
#: options-meta-boxes.php:286
|
159 |
-
#@ default
|
160 |
-
#@ yarpp
|
161 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
162 |
-
msgstr "Tài trợ cho mitcho (Michael Yoshitaka Erlewine) qua PayPal cho việc phát triển plugin này "
|
163 |
-
|
164 |
#: options-meta-boxes.php:118
|
165 |
#@ yarpp
|
166 |
msgid "\"The Pool\""
|
155 |
msgid "Yet Another Related Posts Plugin Options"
|
156 |
msgstr " Tùy chọn của Yet Another Related Posts Plugin"
|
157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
#: options-meta-boxes.php:118
|
159 |
#@ yarpp
|
160 |
msgid "\"The Pool\""
|
lang/yarpp-zh_CN.po
CHANGED
@@ -102,12 +102,6 @@ msgstr "参考"
|
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "作为主要参考指标"
|
104 |
|
105 |
-
#: options-meta-boxes.php:286
|
106 |
-
#@ default
|
107 |
-
#@ yarpp
|
108 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
109 |
-
msgstr "通过 PayPal 给插件作者 mitcho (Michael Yoshitaka Erlewine) 捐赠"
|
110 |
-
|
111 |
#: options.php:178
|
112 |
#@ yarpp
|
113 |
msgid "Yet Another Related Posts Plugin Options"
|
102 |
msgid "consider with extra weight"
|
103 |
msgstr "作为主要参考指标"
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
#: options.php:178
|
106 |
#@ yarpp
|
107 |
msgid "Yet Another Related Posts Plugin Options"
|
lang/yarpp-zh_TW.po
CHANGED
@@ -452,12 +452,6 @@ msgstr "YARPP 官方網站"
|
|
452 |
msgid "Rate YARPP on WordPress.org"
|
453 |
msgstr "在 WordPress.org 給 YARPP 評分"
|
454 |
|
455 |
-
#: options-meta-boxes.php:303
|
456 |
-
#@ default
|
457 |
-
#@ yarpp
|
458 |
-
msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
|
459 |
-
msgstr "以 Paypal 捐款給本外掛作者 mitcho (Michael Yoshitaka Erlewine)"
|
460 |
-
|
461 |
#: options-meta-boxes.php:337
|
462 |
#@ yarpp
|
463 |
msgid "Contact YARPP"
|
452 |
msgid "Rate YARPP on WordPress.org"
|
453 |
msgstr "在 WordPress.org 給 YARPP 評分"
|
454 |
|
|
|
|
|
|
|
|
|
|
|
|
|
455 |
#: options-meta-boxes.php:337
|
456 |
#@ yarpp
|
457 |
msgid "Contact YARPP"
|
options-meta-boxes.php
CHANGED
@@ -357,52 +357,57 @@ class YARPP_Meta_Box_Display_Feed extends YARPP_Meta_Box {
|
|
357 |
}
|
358 |
}
|
359 |
|
360 |
-
add_meta_box(
|
361 |
|
362 |
class YARPP_Meta_Box_Contact extends YARPP_Meta_Box {
|
363 |
function display() {
|
364 |
global $yarpp;
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
<
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
// longest filter name ever
|
408 |
add_filter( "postbox_classes_settings_page_yarpp_yarpp_display_optin", 'yarpp_make_optin_classy' );
|
@@ -416,18 +421,26 @@ class YARPP_Meta_Box_Optin extends YARPP_Meta_Box {
|
|
416 |
function display() {
|
417 |
global $yarpp;
|
418 |
|
419 |
-
|
420 |
-
echo "<input type='checkbox' id='yarpp-optin' name='optin' value='true'";
|
421 |
-
|
422 |
-
|
423 |
|
424 |
-
echo
|
|
|
|
|
|
|
|
|
425 |
|
426 |
-
echo
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
|
|
|
|
|
|
|
|
431 |
|
432 |
add_meta_box( 'yarpp_display_contact', __( 'Contact YARPP', 'yarpp' ), array( new YARPP_Meta_Box_Contact, 'display' ), 'settings_page_yarpp', 'side', 'core' );
|
433 |
|
357 |
}
|
358 |
}
|
359 |
|
360 |
+
add_meta_box('yarpp_display_rss', __('Display options <small>for RSS</small>', 'yarpp'), array( new YARPP_Meta_Box_Display_Feed, 'display'), 'settings_page_yarpp', 'normal', 'core');
|
361 |
|
362 |
class YARPP_Meta_Box_Contact extends YARPP_Meta_Box {
|
363 |
function display() {
|
364 |
global $yarpp;
|
365 |
+
|
366 |
+
/* TODO: Remove */
|
367 |
+
// $pluginurl = plugin_dir_url( __FILE__ );
|
368 |
+
|
369 |
+
$happy = ($yarpp->diagnostic_happy()) ? 'spin' : null;
|
370 |
+
|
371 |
+
$out =
|
372 |
+
'<ul class="yarpp_contacts">'.
|
373 |
+
'<li>'.
|
374 |
+
'<a href="http://wordpress.org/support/plugin/yet-another-related-posts-plugin" target="_blank">'.
|
375 |
+
'<span class="icon icon-wordpress"></span> '.__('YARPP Forum', 'yarpp').
|
376 |
+
'</a>'.
|
377 |
+
'</li>'.
|
378 |
+
'<li>'.
|
379 |
+
'<a href="http://twitter.com/yarpp" target="_blank">'.
|
380 |
+
'<span class="icon icon-twitter"></span> '.__('YARPP on Twitter', 'yarpp').
|
381 |
+
'</a>'.
|
382 |
+
'</li>'.
|
383 |
+
'<li>'.
|
384 |
+
'<a href="http://yarpp.org" target="_blank">'.
|
385 |
+
'<span class="icon icon-plugin"></span> '.__('YARPP on the Web', 'yarpp').
|
386 |
+
'</a>'.
|
387 |
+
'</li>'.
|
388 |
+
'<li>'.
|
389 |
+
'<a href="http://wordpress.org/support/view/plugin-reviews/yet-another-related-posts-plugin" target="_blank">'.
|
390 |
+
'<span class="icon icon-star '.$happy.'"></span> '.__('Review YARPP on WordPress.org', 'yarpp').
|
391 |
+
'</a>'.
|
392 |
+
'</li>'.
|
393 |
+
'</ul>';
|
394 |
+
|
395 |
+
echo $out;
|
396 |
+
}/*end display*/
|
397 |
+
|
398 |
+
}/*end class yarpp_matabox_contact*/
|
399 |
+
|
400 |
+
add_meta_box(
|
401 |
+
'yarpp_display_optin',
|
402 |
+
__( 'Help Improve YARPP', 'yarpp' ),
|
403 |
+
array(
|
404 |
+
new YARPP_Meta_Box_Optin,
|
405 |
+
'display'
|
406 |
+
),
|
407 |
+
'settings_page_yarpp',
|
408 |
+
'side',
|
409 |
+
'core'
|
410 |
+
);
|
411 |
|
412 |
// longest filter name ever
|
413 |
add_filter( "postbox_classes_settings_page_yarpp_yarpp_display_optin", 'yarpp_make_optin_classy' );
|
421 |
function display() {
|
422 |
global $yarpp;
|
423 |
|
424 |
+
/* TODO: fix this text and i18nize it */
|
425 |
+
echo "<input type='checkbox' id='yarpp-optin' name='optin' value='true' ";
|
426 |
+
checked(yarpp_get_option('optin') == 1);
|
427 |
+
echo " /> ";
|
428 |
|
429 |
+
echo(
|
430 |
+
'<label for="yarpp-optin">'.
|
431 |
+
__( 'Send usage data back to YARPP!', 'yarpp' ).
|
432 |
+
'</label>'
|
433 |
+
);
|
434 |
|
435 |
+
echo(
|
436 |
+
'<p style="overflow:auto;">'.
|
437 |
+
__( 'This is entirely optional, but will help improve future versions of YARPP.', 'yarpp' ).
|
438 |
+
'<br/>'.
|
439 |
+
'<input type="button" value="'.esc_attr(__('Learn More', 'yarpp')).'" id="yarpp-optin-learnmore" class="button button-small"/>'.
|
440 |
+
'</p>'
|
441 |
+
);
|
442 |
+
}/*end display*/
|
443 |
+
}/*YARPP_Meta_Box_Optin*/
|
444 |
|
445 |
add_meta_box( 'yarpp_display_contact', __( 'Contact YARPP', 'yarpp' ), array( new YARPP_Meta_Box_Contact, 'display' ), 'settings_page_yarpp', 'side', 'core' );
|
446 |
|
options.css
CHANGED
@@ -58,9 +58,6 @@ body.rtl .icon {
|
|
58 |
.icon-star {
|
59 |
background-position: -66px 0;
|
60 |
}
|
61 |
-
.icon-paypal {
|
62 |
-
background-position: -88px 0;
|
63 |
-
}
|
64 |
|
65 |
.icon.spin, .icon-star:hover {
|
66 |
transform-origin: 11px 12px;
|
58 |
.icon-star {
|
59 |
background-position: -66px 0;
|
60 |
}
|
|
|
|
|
|
|
61 |
|
62 |
.icon.spin, .icon-star:hover {
|
63 |
transform-origin: 11px 12px;
|
options.php
CHANGED
@@ -14,34 +14,52 @@ if ( !$yarpp->diagnostic_custom_templates() ) {
|
|
14 |
yarpp_set_option( 'rss_template', false );
|
15 |
}
|
16 |
|
|
|
17 |
// 3.3: move version checking here, in PHP:
|
18 |
-
if (
|
19 |
$yarpp_version_info = $yarpp->version_info();
|
20 |
|
21 |
// these strings are not localizable, as long as the plugin data on wordpress.org
|
22 |
// cannot be.
|
23 |
$slug = 'yet-another-related-posts-plugin';
|
24 |
$plugin_name = 'Yet Another Related Posts Plugin';
|
25 |
-
$file = basename(YARPP_DIR)
|
26 |
-
if ( $yarpp_version_info['result']
|
27 |
// make sure the update system is aware of this version
|
28 |
$current = get_site_transient( 'update_plugins' );
|
29 |
if ( !isset( $current->response[ $file ] ) ) {
|
30 |
-
delete_site_transient(
|
31 |
wp_update_plugins();
|
32 |
}
|
33 |
|
34 |
echo '<div class="updated"><p>';
|
35 |
-
$details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin='
|
36 |
-
printf(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
echo '</p></div>';
|
38 |
-
} else if ( $yarpp_version_info['result']
|
39 |
echo '<div class="updated"><p>';
|
40 |
-
printf(
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
echo '</p></div>';
|
42 |
}
|
43 |
}
|
44 |
|
|
|
45 |
if (isset($_POST['myisam_override'])) {
|
46 |
yarpp_set_option( 'myisam_override', 1 );
|
47 |
echo "<div class='updated'>"
|
@@ -52,29 +70,49 @@ if (isset($_POST['myisam_override'])) {
|
|
52 |
}
|
53 |
|
54 |
$table_type = $yarpp->diagnostic_myisam_posts();
|
55 |
-
if ( $table_type !== true )
|
56 |
-
$yarpp->disable_fulltext();
|
57 |
|
58 |
-
if (
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
}
|
71 |
|
72 |
-
if
|
73 |
-
echo '<div class="updated">';
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
78 |
}
|
79 |
|
80 |
if (isset($_POST['update_yarpp'])) {
|
@@ -149,7 +187,8 @@ if (isset($_POST['update_yarpp'])) {
|
|
149 |
<form method="post">
|
150 |
|
151 |
<div id="yarpp_author_text">
|
152 |
-
|
|
|
153 |
</div>
|
154 |
|
155 |
<?php
|
14 |
yarpp_set_option( 'rss_template', false );
|
15 |
}
|
16 |
|
17 |
+
/* TODO: Verify if this version check is actually overwriting wp defaults */
|
18 |
// 3.3: move version checking here, in PHP:
|
19 |
+
if (current_user_can('update_plugins')) {
|
20 |
$yarpp_version_info = $yarpp->version_info();
|
21 |
|
22 |
// these strings are not localizable, as long as the plugin data on wordpress.org
|
23 |
// cannot be.
|
24 |
$slug = 'yet-another-related-posts-plugin';
|
25 |
$plugin_name = 'Yet Another Related Posts Plugin';
|
26 |
+
$file = basename(YARPP_DIR).'/yarpp.php';
|
27 |
+
if ( $yarpp_version_info['result'] === 'new' ) {
|
28 |
// make sure the update system is aware of this version
|
29 |
$current = get_site_transient( 'update_plugins' );
|
30 |
if ( !isset( $current->response[ $file ] ) ) {
|
31 |
+
delete_site_transient('update_plugins');
|
32 |
wp_update_plugins();
|
33 |
}
|
34 |
|
35 |
echo '<div class="updated"><p>';
|
36 |
+
$details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin='.$slug.'&TB_iframe=true&width=600&height=800');
|
37 |
+
printf(
|
38 |
+
__(
|
39 |
+
'There is a new version of %1$s available.'.
|
40 |
+
'<a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>'.
|
41 |
+
'or <a href="%5$s">update automatically</a>.', 'yarpp'),
|
42 |
+
$plugin_name,
|
43 |
+
esc_url($details_url),
|
44 |
+
esc_attr($plugin_name),
|
45 |
+
$yarpp_version_info['current']['version'],
|
46 |
+
wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=').$file, 'upgrade-plugin_'.$file)
|
47 |
+
);
|
48 |
echo '</p></div>';
|
49 |
+
} else if ( $yarpp_version_info['result'] === 'newbeta' ) {
|
50 |
echo '<div class="updated"><p>';
|
51 |
+
printf(
|
52 |
+
__(
|
53 |
+
"There is a new beta (%s) of Yet Another Related Posts Plugin. ".
|
54 |
+
"You can <a href=\"%s\">download it here</a> at your own risk.", "yarpp"),
|
55 |
+
$yarpp_version_info['beta']['version'],
|
56 |
+
$yarpp_version_info['beta']['url']
|
57 |
+
);
|
58 |
echo '</p></div>';
|
59 |
}
|
60 |
}
|
61 |
|
62 |
+
/* MARK: MyIsam message */
|
63 |
if (isset($_POST['myisam_override'])) {
|
64 |
yarpp_set_option( 'myisam_override', 1 );
|
65 |
echo "<div class='updated'>"
|
70 |
}
|
71 |
|
72 |
$table_type = $yarpp->diagnostic_myisam_posts();
|
|
|
|
|
73 |
|
74 |
+
if ( $table_type !== true ) $yarpp->disable_fulltext();
|
75 |
+
|
76 |
+
if (!yarpp_get_option('myisam_override') && $yarpp->diagnostic_fulltext_disabled()) {
|
77 |
+
echo(
|
78 |
+
"<div class='updated'>".
|
79 |
+
sprintf(
|
80 |
+
__("YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code>
|
81 |
+
table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>,
|
82 |
+
but the table seems to be using the <code>%s</code> engine. These two options have been disabled.",'yarpp'),
|
83 |
+
$wpdb->posts,
|
84 |
+
$table_type
|
85 |
+
).
|
86 |
+
"<br />".
|
87 |
+
sprintf(
|
88 |
+
__("To restore these features, please update your <code>%s</code> table by executing the following SQL
|
89 |
+
directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the
|
90 |
+
table's engine, although there are performance implications.",'yarpp'),
|
91 |
+
$wpdb->posts,
|
92 |
+
$wpdb->posts
|
93 |
+
).
|
94 |
+
"<br />".
|
95 |
+
sprintf(
|
96 |
+
__("If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic
|
97 |
+
button:",'yarpp'),
|
98 |
+
$wpdb->posts
|
99 |
+
).
|
100 |
+
"<br />".
|
101 |
+
"<form method='post'>".
|
102 |
+
"<input type='submit' class='button' name='myisam_override' value='".__("Trust me. Let me use MyISAM features.",'yarpp')."'/>".
|
103 |
+
"</form>"
|
104 |
+
."</div>"
|
105 |
+
);
|
106 |
}
|
107 |
|
108 |
+
if(!$yarpp->enabled() && !$yarpp->activate()) {
|
109 |
+
echo '<div class="updated">'.__('The YARPP database has an error which could not be fixed.','yarpp').'</div>';
|
110 |
+
/* TODO: SQL Error */
|
111 |
+
// printf(
|
112 |
+
// __('Please try <a href="%s" target="_blank">manual SQL setup</a>.','yarpp'),
|
113 |
+
// 'http://--/code/yarpp/sql.php?prefix='.urlencode($wpdb->prefix)
|
114 |
+
// );
|
115 |
+
// echo '</div>';
|
116 |
}
|
117 |
|
118 |
if (isset($_POST['update_yarpp'])) {
|
187 |
<form method="post">
|
188 |
|
189 |
<div id="yarpp_author_text">
|
190 |
+
<!-- TODO: Author -->
|
191 |
+
<!-- <small><?php printf(__('by <a href="%s" target="_blank">-- (Michael 芳貴 Erlewine)</a>','yarpp'), 'http://--/');?></small> -->
|
192 |
</div>
|
193 |
|
194 |
<?php
|
readme.txt
CHANGED
@@ -1,13 +1,12 @@
|
|
1 |
-
=== Yet Another Related Posts Plugin ===
|
2 |
-
Contributors:
|
3 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
4 |
Author URI: http://mitcho.com/
|
5 |
Plugin URI: http://yarpp.org/
|
6 |
-
|
7 |
-
Tags: related, posts, post, pages, page, RSS, feed, feeds
|
8 |
Requires at least: 3.3
|
9 |
-
Tested up to: 3.6
|
10 |
-
Stable tag: 4.0.
|
11 |
License: GPLv2 or later
|
12 |
|
13 |
Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
|
@@ -18,7 +17,7 @@ Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages
|
|
18 |
|
19 |
1. **Thumbnails**: a beautiful new thumbnail display, for themes which use post thumbnails (featured images) **New in YARPP 4!**
|
20 |
2. **Related posts, pages, and custom post types**: [Learn about CPT support](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/).
|
21 |
-
3. **Templating**: The
|
22 |
4. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, categories, and custom taxonomies, YARPP finds related content from across your site. [Learn more](http://wordpress.tv/2011/01/29/michael-%E2%80%9Cmitcho%E2%80%9D-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/).
|
23 |
5. **Caching**: YARPP is performant, caching related posts data as your site is visited.
|
24 |
6. **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
|
@@ -34,7 +33,7 @@ I try to respond to inquiries on the forums on a regular basis and hope to build
|
|
34 |
= Testimonials =
|
35 |
|
36 |
<blockquote>
|
37 |
-
"One of my favorite
|
38 |
</blockquote>
|
39 |
|
40 |
— [Matt Mullenweg](http://ma.tt), WordPress creator
|
@@ -43,8 +42,8 @@ I try to respond to inquiries on the forums on a regular basis and hope to build
|
|
43 |
"The first one I ended up trying was Yet Another Related Posts Plugin (YARPP), and mitcho has really done a fantastic job on it:
|
44 |
|
45 |
<ul>
|
46 |
-
<li>It
|
47 |
-
<li>You don
|
48 |
<li>The relevance is good: the suggested posts are related, and you can tweak thresholds and how things are computed if you want."</li>
|
49 |
</ul>
|
50 |
</blockquote>
|
@@ -75,27 +74,70 @@ Related posts can also be displayed as a widget. Go to the Design > Widgets opti
|
|
75 |
|
76 |
= Custom display through templates =
|
77 |
|
78 |
-
YARPP allows the advanced user with knowledge of PHP to customize the display of related posts using a templating mechanism.
|
79 |
|
80 |
== Frequently Asked Questions ==
|
81 |
|
82 |
-
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). *Please do not email with questions.*
|
|
|
|
|
|
|
|
|
83 |
|
84 |
= How can I move the related posts display? =
|
85 |
|
86 |
-
If you do not want to show the Related Posts display in its default position (right below the post content), first go to YARPP options and turn off the "automatically display" options in the "website" section. If you would like to instead display it in your sidebar and you have a widget-aware theme, YARPP provides a Related Posts widget which you can add under "Appearance" > "Widgets"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
-
|
89 |
|
90 |
-
|
91 |
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose. See also the next question.
|
95 |
|
96 |
-
= I'm using the Thumbnails display
|
97 |
|
98 |
-
By default if an appropriately sized thumbnail is not available in WordPress, a larger image will be served and will be made to fit in the thumbnail space via CSS. Sometimes this means images will be scaled down in a weird way, so it is not ideal
|
99 |
|
100 |
There are two options for doing so:
|
101 |
|
@@ -103,19 +145,33 @@ There are two options for doing so:
|
|
103 |
|
104 |
* Second, you can turn on a feature in YARPP to auto-generate appropriate size thumbnails on the fly, if they have not yet been created. Doing this type of processing on the fly does not scale well, so this feature is turned off by default. But if you run a smaller site with less traffic, it may work for you. Simply add `define('YARPP_GENERATE_THUMBNAILS', true);` to your theme's `functions.php` file.
|
105 |
|
|
|
|
|
|
|
|
|
106 |
= How can I use the custom template feature? =
|
107 |
|
108 |
-
YARPP's
|
109 |
|
110 |
-
=
|
111 |
|
112 |
-
|
113 |
|
114 |
-
|
|
|
|
|
115 |
|
116 |
-
=
|
117 |
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
= Are there any plugins that are incompatible with YARPP? =
|
121 |
|
@@ -123,26 +179,27 @@ Most likely you have "no related posts" right now as the default "match threshol
|
|
123 |
* [SEO_Pager plugin](http://wordpress.org/support/topic/267966): turn off the automatic display option in SEO Pager and instead add the code manually.
|
124 |
* [Pagebar 2](http://www.elektroelch.de/hacks/wp/pagebar/);
|
125 |
* [WP Contact Form III plugin and Contact Form Plugin](http://wordpress.org/support/topic/392605);
|
|
|
126 |
* Other related posts plugins, obviously, may also be incompatible.
|
127 |
|
128 |
Please submit similar bugs by starting a new thread on [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). I check the forums regularly and will try to release a quick bugfix.
|
129 |
|
130 |
-
=
|
131 |
-
|
132 |
-
YARPP works fine with full-width (double-byte) characters, assuming your WordPress database is set up with Unicode support. 99% of the time, if you're able to write blog posts with full-width characters and they're displayed correctly, YARPP will work on your blog.
|
133 |
-
|
134 |
-
However, YARPP does have difficulty with languages that don't place spaces between words (Chinese, Japanese, etc.). For these languages, the "consider body" and "consider titles" options in the "Relatedness options" may not be very helpful. Using only tags and categories may work better for these languages.
|
135 |
|
136 |
-
|
137 |
|
138 |
1. Visit the "Related Posts (YARPP)" settings page to verify your settings.
|
139 |
-
2.
|
140 |
3. Install the official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin to flush the cache.
|
141 |
|
142 |
= Can I clear my cache? Can I build up the cache manually? =
|
143 |
|
144 |
The official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin adds manual cache controls, letting you flush the cache and build it up manually.
|
145 |
|
|
|
|
|
|
|
|
|
146 |
== Developing with YARPP ==
|
147 |
|
148 |
= Custom post types =
|
@@ -153,40 +210,7 @@ If you would like to programmatically control which post types are considered in
|
|
153 |
|
154 |
= Custom displays =
|
155 |
|
156 |
-
Developers can call YARPP's powerful relatedness algorithm from anywhere in their own code. Some examples and more details are in
|
157 |
-
|
158 |
-
yarpp_related(array(
|
159 |
-
// Pool options: these determine the "pool" of entities which are considered
|
160 |
-
'post_type' => array('post', 'page', ...),
|
161 |
-
'show_pass_post' => false, // show password-protected posts
|
162 |
-
'past_only' => false, // show only posts which were published before the reference post
|
163 |
-
'exclude' => array(), // a list of term_taxonomy_ids. entities with any of these terms will be excluded from consideration.
|
164 |
-
'recent' => false, // to limit to entries published recently, set to something like '15 day', '20 week', or '12 month'.
|
165 |
-
|
166 |
-
// Relatedness options: these determine how "relatedness" is computed
|
167 |
-
// Weights are used to construct the "match score" between candidates and the reference post
|
168 |
-
'weight' => array(
|
169 |
-
'body' => 1,
|
170 |
-
'title' => 2, // larger weights mean this criteria will be weighted more heavily
|
171 |
-
'tax' => array(
|
172 |
-
'post_tag' => 1,
|
173 |
-
... // put any taxonomies you want to consider here with their weights
|
174 |
-
)
|
175 |
-
),
|
176 |
-
// Specify taxonomies and a number here to require that a certain number be shared:
|
177 |
-
'require_tax' => array(
|
178 |
-
'post_tag' => 1 // for example, this requires all results to have at least one 'post_tag' in common.
|
179 |
-
),
|
180 |
-
// The threshold which must be met by the "match score"
|
181 |
-
'threshold' => 5,
|
182 |
-
|
183 |
-
// Display options:
|
184 |
-
'template' => , // either the name of a file in your active theme or the boolean false to use the builtin template
|
185 |
-
'limit' => 5, // maximum number of results
|
186 |
-
'order' => 'score DESC'
|
187 |
-
),
|
188 |
-
$reference_ID, // second argument: (optional) the post ID. If not included, it will use the current post.
|
189 |
-
true); // third argument: (optional) true to echo the HTML block; false to return it
|
190 |
|
191 |
Options which are not specified will default to those specified in the YARPP settings page. Additionally, if you are using the builtin template rather than specifying a custom template file in `template`, the following arguments can be used to override the various parts of the builtin template: `before_title`, `after_title`, `before_post`, `after_post`, `before_related`, `after_related`, `no_results`, `excerpt_length`.
|
192 |
|
@@ -226,11 +250,12 @@ YARPP is currently localized in the following languages:
|
|
226 |
* Italian (`it_IT`) by Gianni Diurno of [gidibao.net](http://gidibao.net)
|
227 |
* Irish (`gb_IR`) by [Ray Gren](http://letsbefamous.com)
|
228 |
* Bahasa Indonesia (`id_ID`) by [Hendry Lee](http://hendrylee.com/) of [Kelayang](http://kelayang.com/)
|
229 |
-
* Japanese (`ja`) by [
|
230 |
* Kazakh (`kk_KZ`) by [DachaDecor](http://DachaDecor.ru)
|
231 |
* Korean (`ko_KR`) by [Jong-In Kim](http://incommunity.codex.kr)
|
232 |
* Latvian (`lv_LV`) by [Mike](http://antsar.info)
|
233 |
* Lithuanian (`lt_LT`) by [Karolis Vyčius](http://vycius.co.cc) and [Mantas Malcius](http://mantas.malcius.lt)
|
|
|
234 |
* Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](http://www.datanerden.no)
|
235 |
* Polish (`pl_PL`) by [Perfecta](http://perfecta.pro/wp-pl/)
|
236 |
* (European) Portuguese (`pt_PT`) by Stefan Mueller of [fernstadium-net](http://www.fernstudium-net.de)
|
@@ -244,13 +269,18 @@ YARPP is currently localized in the following languages:
|
|
244 |
* Swedish (`sv_SE`) by Max Elander
|
245 |
* Turkish (`tr_TR`) by [Nurullah](http://www.ndemir.com) and [Barış Ünver](http://beyn.org/)
|
246 |
* Vietnamese (`vi_VN`) by Vu Nguyen of [Rubik Integration](http://rubikintegration.com/)
|
247 |
-
* Ukrainian (`uk_UA`) by [Onore](http://Onore.kiev.ua)
|
248 |
* Uzbek (`uz_UZ`) by Ali Safarov of [comfi.com](http://www.comfi.com/)
|
249 |
|
250 |
-
If you are a bilingual speaker of English and another language and an avid user of YARPP, I would love to talk to you about localizing YARPP! Localizing YARPP can be pretty easy using [the Codestyling Localization plugin](http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en). Please [contact me](mailto:yarpp@mitcho.com) *first* before translating to make sure noone else is working on your language. Thanks!
|
251 |
-
|
252 |
== Changelog ==
|
253 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
= 4.0.6 =
|
255 |
* YARPP's automatic display will not run on posts which include the HTML comment `<!--noyarpp-->` [by request](https://wordpress.org/support/topic/disabling-yarrp-on-specific-pages).
|
256 |
* More robust activation handling, particularly when network-activated.
|
@@ -651,7 +681,7 @@ If you are a bilingual speaker of English and another language and an avid user
|
|
651 |
= 3.0 =
|
652 |
* Major new release!
|
653 |
* Caching for better SQL performance
|
654 |
-
* A new
|
655 |
* Cleaned up options page
|
656 |
* New and updated localizations
|
657 |
= 2.1.6 =
|
@@ -661,7 +691,7 @@ If you are a bilingual speaker of English and another language and an avid user
|
|
661 |
* Bugfix: The `related_*()` functions were missing the `echo` parameter
|
662 |
* Some localization bugfixes
|
663 |
* Localizations:
|
664 |
-
* Japanese (`ja`) by
|
665 |
= 2.1.4 =
|
666 |
* Bugfix: [Settings' sumbmit button took you to PayPal](http://wordpress.org/support/topic/214090)
|
667 |
* Bugfix: Fixed [keyword algorithm for users without `mbstring`](http://wordpress.org/support/topic/216420)
|
1 |
+
=== Yet Another Related Posts Plugin (YARPP) ===
|
2 |
+
Contributors: jeffparker
|
3 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
4 |
Author URI: http://mitcho.com/
|
5 |
Plugin URI: http://yarpp.org/
|
6 |
+
Tags: related, posts, post, pages, page, RSS, feed, feeds, YARPP
|
|
|
7 |
Requires at least: 3.3
|
8 |
+
Tested up to: 3.6.1
|
9 |
+
Stable tag: 4.0.7
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!
|
17 |
|
18 |
1. **Thumbnails**: a beautiful new thumbnail display, for themes which use post thumbnails (featured images) **New in YARPP 4!**
|
19 |
2. **Related posts, pages, and custom post types**: [Learn about CPT support](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/other_notes/).
|
20 |
+
3. **Templating**: The YARPP templating system gives you advanced control of how your results are displayed.
|
21 |
4. **An advanced and versatile algorithm**: Using a customizable algorithm considering post titles, content, tags, categories, and custom taxonomies, YARPP finds related content from across your site. [Learn more](http://wordpress.tv/2011/01/29/michael-%E2%80%9Cmitcho%E2%80%9D-erlewine-the-yet-another-related-posts-plugin-algorithm-explained/).
|
22 |
5. **Caching**: YARPP is performant, caching related posts data as your site is visited.
|
23 |
6. **Related posts in feeds**: Display related posts in RSS feeds with custom display options.
|
33 |
= Testimonials =
|
34 |
|
35 |
<blockquote>
|
36 |
+
"One of my favorite plugin's I just activated on my blog is called Yet Another Related Posts Plugin... I've been blogging seven or eight years now so I have a lot of archives, and it actually surprises me sometimes when I blog about something and I visit the permalink to see I've written about it before... and it also increases the traffic on your blog because when they come in just to one entry, they'll see this other stuff going on."
|
37 |
</blockquote>
|
38 |
|
39 |
— [Matt Mullenweg](http://ma.tt), WordPress creator
|
42 |
"The first one I ended up trying was Yet Another Related Posts Plugin (YARPP), and mitcho has really done a fantastic job on it:
|
43 |
|
44 |
<ul>
|
45 |
+
<li>It's trivial to install.</li>
|
46 |
+
<li>You don't have to edit your WordPress template.</li>
|
47 |
<li>The relevance is good: the suggested posts are related, and you can tweak thresholds and how things are computed if you want."</li>
|
48 |
</ul>
|
49 |
</blockquote>
|
74 |
|
75 |
= Custom display through templates =
|
76 |
|
77 |
+
YARPP allows the advanced user with knowledge of PHP to customize the display of related posts using a templating mechanism.
|
78 |
|
79 |
== Frequently Asked Questions ==
|
80 |
|
81 |
+
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). *Please do not email with questions.* I'd also appreciate if you would tell me how you found out about YARPP, by taking [this simple three-question survey](http://www.surveymonkey.com/s/Z278L88). Thanks for your feedback!
|
82 |
+
|
83 |
+
= Many pages list "no related posts." =
|
84 |
+
|
85 |
+
Most likely you have "no related posts" right now because the default "match threshold" is too high. Here's what I recommend to find an appropriate match threshold: lower your match threshold in the YARPP options to something very low, like 1. (If you don't see the match threshold, you may need to display the "Relatedness" options via the "Screen Options" tab at the top.) Most likely the really low threshold will pull up many posts that aren't actually related (false positives), so look at some of your posts' related posts and their match scores. This will help you find an appropriate threshold. You want it lower than what you have now, but high enough so it doesn't have many false positives.
|
86 |
|
87 |
= How can I move the related posts display? =
|
88 |
|
89 |
+
If you do not want to show the Related Posts display in its default position (right below the post content), first go to YARPP options and turn off the "automatically display" options in the "website" section. If you would like to instead display it in your sidebar and you have a widget-aware theme, YARPP provides a Related Posts widget which you can add under "Appearance" > "Widgets."
|
90 |
+
|
91 |
+
If you would like to add the Related Posts display elsewhere, edit your relevant theme file (most likely something like `single.php`) and add the PHP code `related_posts();` within [The Loop](http://codex.wordpress.org/The_Loop) where you want to display the related posts. (Make sure you don't add `echo related_posts();` or you may end up with duplicates in your related posts section.)
|
92 |
+
|
93 |
+
= How can I limit related posts to a certain time frame? For instance, I don't want to show posts from two years ago. =
|
94 |
+
|
95 |
+
Yes. In Wordpress, go to "Settings" and "Related Posts (YARPP)" and make sure "The Pool" is checked in the "Screen Options" section at the top of the page. In "The Pool" section, check the box next to "Show only posts from the past *X* months."
|
96 |
+
|
97 |
+
= Where do I tell YARPP to display related posts only by tags? =
|
98 |
+
|
99 |
+
In WordPress, go to "Settings" and "Related Posts (YARPP)" and make sure "Relatedness" is checked in the "Screen Options" section at the top of the page. In the "Relatedness" section, configure the dropdown boxes next to "Titles," "Bodies," "Categories," and "Tags."
|
100 |
+
|
101 |
+
= Can I specify related posts? =
|
102 |
+
|
103 |
+
Sorry, but specifying related posts, displaying related posts from external WordPress sites, and pulling content from the Comments section are all outside the scope of YARPP at this time.
|
104 |
+
|
105 |
+
= I'm seeing related posts displayed on the home page. How do I prevent that? =
|
106 |
+
|
107 |
+
Some WordPress themes treat the home page as an archive or a "page." Go to "Settings" then "Related Posts (YARPP)" and view the "Display Options" section. Make sure "Pages" and "Also display in archives" are not checked.
|
108 |
|
109 |
+
= How can I prevent the "related posts" list from displaying on specific posts? =
|
110 |
|
111 |
+
If you have several posts where you don't want to display related posts and they all share a similar category or tag, you could use "Disallow by Category" or "Disallow by Tag" in "The Pool" section. (Go to "Settings" and "Related Posts (YARPP)" and make sure "The Pool" is checked in the "Screen Options" section at the top of the page.)
|
112 |
|
113 |
+
You could also add `<!--noyarpp-->` to the HTML code of any post to prevent related posts from displaying. This solution will only work if you are using "Automatic Display" in the "Display Options" section. If you are programatically calling `related_posts()` from PHP code, you'll have to do your own checking to see if related posts are appropriate to display or not.
|
114 |
+
|
115 |
+
= I'm using the Thumbnails display in YARPP 4. How do I override the style of the text that displays? The title only shows two lines, the font is larger than I'd like, I'd like to center the thumbnails, etc. =
|
116 |
+
|
117 |
+
If you're familiar with CSS, you can override any YARPP styles by editing your theme's `style.css` file, or any other CSS file you may have created that loads after the YARPP one. To edit your theme's CSS file, go to "Appearance" then "Editor" and then click `style.css` in the right sidebar. Add changes at the bottom of the file and click "Save." If you do edit this file, just make sure you add `!important` after each style declaration, to make sure they'll override the YARPP rules.
|
118 |
+
|
119 |
+
Some common overrides that YARPP users have added are:
|
120 |
+
|
121 |
+
`
|
122 |
+
/* Reduces the title font size and displays more than two title lines */
|
123 |
+
.yarpp-thumbnail {height: 200px !important;}
|
124 |
+
.yarpp-thumbnail-title {font-size:0.8em !important; max-height: 4em !important
|
125 |
+
|
126 |
+
/* Centers the thumbnail section */
|
127 |
+
.yarpp-related-widget {text-align:center !important;}
|
128 |
+
`
|
129 |
+
|
130 |
+
Once you save any CSS changes, empty your browser's cache and reload your page to see the effect.
|
131 |
+
|
132 |
+
= I'm using the Thumbnails display. How can I change the thumbnail size? =
|
133 |
+
|
134 |
+
The default YARPP thumbnail size is 120px by 120px. The thumbnail size can be specified programmatically by adding `add_image_size( 'yarpp-thumbnail', $width, $height, true );` to your theme's `functions.php` file with appropriate width and height variables. In the future I may add some UI to the settings to also set this. Feedback is requested on whether this is a good idea.
|
135 |
|
136 |
Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. I highly recommend the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin for this purpose. See also the next question.
|
137 |
|
138 |
+
= I'm using the Thumbnails display. Why aren't the right size thumbnails being served? =
|
139 |
|
140 |
+
By default, if an appropriately sized thumbnail is not available in WordPress, a larger image will be served and will be made to fit in the thumbnail space via CSS. Sometimes this means images will be scaled down in a weird way, so it is not ideal. What you really want is for YARPP to serve appropriately-sized thumbnails.
|
141 |
|
142 |
There are two options for doing so:
|
143 |
|
145 |
|
146 |
* Second, you can turn on a feature in YARPP to auto-generate appropriate size thumbnails on the fly, if they have not yet been created. Doing this type of processing on the fly does not scale well, so this feature is turned off by default. But if you run a smaller site with less traffic, it may work for you. Simply add `define('YARPP_GENERATE_THUMBNAILS', true);` to your theme's `functions.php` file.
|
147 |
|
148 |
+
= I'm using the Thumbnails display. Why are some of my posts missing appropriate images? =
|
149 |
+
|
150 |
+
YARPP's thumbnail view requires that a WordPress "featured image" be set for each post. If you have many posts that never had a featured image set, I recommend the plugin [Auto Post Thumbnail](http://wordpress.org/extend/plugins/auto-post-thumbnail/), which will generate post thumbnails for you.
|
151 |
+
|
152 |
= How can I use the custom template feature? =
|
153 |
|
154 |
+
YARPP's custom templates feature allows you to uber-customize the related posts display using the same coding conventions and [Template Tags](http://codex.wordpress.org/Template_Tags) as in WordPress themes. Custom templates must be in your *active theme's main directory* in order to be recognized by YARPP. If your theme did not ship with YARPP templates, move the files in the `yarpp-templates` directory which ships with YARPP into your active theme's main directory. Be sure to move the *files* (which must be named `yarpp-template-`...`.php`) to your theme, not the entire directory.
|
155 |
|
156 |
+
= Is YARPP compatible with WordPress Multisite? =
|
157 |
|
158 |
+
YARPP should work fine in a multisite environment, and many users are running it without any issues using WordPress Multisite. It will, however, only get results *within* each blog. It will not display related posts results from across your network.
|
159 |
|
160 |
+
= I want to use YARPP on a site with content in multiple languages. =
|
161 |
+
|
162 |
+
The recommended solution in such cases is to use the [Polylang](https://polylang.wordpress.com/) plugin. Polylang has posted [a tutorial for using YARPP with Polylang](https://polylang.wordpress.com/2013/05/03/polylang-and-yarpp/).
|
163 |
|
164 |
+
= Does YARPP work with full-width characters or languages that don't use spaces between words? =
|
165 |
|
166 |
+
YARPP works fine with full-width (double-byte) characters, assuming your WordPress database is set up with Unicode support. 99% of the time, if you're able to write blog posts with full-width characters and they're displayed correctly, YARPP will work on your blog.
|
167 |
+
|
168 |
+
However, YARPP does have difficulty with languages that don't place spaces between words (Chinese, Japanese, etc.). For these languages, the "consider body" and "consider titles" options in the "Relatedness options" may not be very helpful. Using only tags and categories may work better for these languages.
|
169 |
+
|
170 |
+
= Does YARPP slow down my blog/server? =
|
171 |
+
|
172 |
+
The YARPP calculation of related content does make a little impact, yes. However, YARPP caches all of its results, so any post's results need only be calculated once. YARPP's queries have been significantly optimized since version 3.5.
|
173 |
+
|
174 |
+
If you are running a large site and need to throttle YARPP's computation, try the official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin which adds this throttling functionality. If you are looking for a hosting provider whose databases will not balk under YARPP, I personally have had great success with [MediaTemple](http://www.mediatemple.net/#a_aid=4ed59d7ac5dae).
|
175 |
|
176 |
= Are there any plugins that are incompatible with YARPP? =
|
177 |
|
179 |
* [SEO_Pager plugin](http://wordpress.org/support/topic/267966): turn off the automatic display option in SEO Pager and instead add the code manually.
|
180 |
* [Pagebar 2](http://www.elektroelch.de/hacks/wp/pagebar/);
|
181 |
* [WP Contact Form III plugin and Contact Form Plugin](http://wordpress.org/support/topic/392605);
|
182 |
+
* [WPML](http://wpml.org): various incompatibilities have been reported. The multilingual plugin [Polylang](https://polylang.wordpress.com/) has great support for YARPP and is suggested as a replacement for WPML.
|
183 |
* Other related posts plugins, obviously, may also be incompatible.
|
184 |
|
185 |
Please submit similar bugs by starting a new thread on [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). I check the forums regularly and will try to release a quick bugfix.
|
186 |
|
187 |
+
= YARPP seems to be broken since I upgraded to WordPress X.X. =
|
|
|
|
|
|
|
|
|
188 |
|
189 |
+
Before upgrading to a new WordPress version, you should first deactivate all plugins, then upgrade your WordPress, and then reactivate your plugins. Even then, you may still find that something went wrong with your YARPP functionality. If so, try these steps:
|
190 |
|
191 |
1. Visit the "Related Posts (YARPP)" settings page to verify your settings.
|
192 |
+
2. Deactivate YARPP, replace the YARPP files on the server with a fresh copy of the new version, and then reactivate it.
|
193 |
3. Install the official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin to flush the cache.
|
194 |
|
195 |
= Can I clear my cache? Can I build up the cache manually? =
|
196 |
|
197 |
The official [YARPP Experiments](http://wordpress.org/extend/plugins/yarpp-experiments/) plugin adds manual cache controls, letting you flush the cache and build it up manually.
|
198 |
|
199 |
+
= I removed the YARPP plugin but I still see YARPP-related database tables. Shouldn't those be removed, too? =
|
200 |
+
|
201 |
+
Beginning with version 4.0.7, YARPP includes clean uninstall functionality. If you no longer wish to use YARPP, first deactivate YARPP using the "Plugins" page in WordPress, then click the "Delete" link found on the same page. This process will automatically remove all YARPP-related files, including temp tables. If you manually try to remove YARPP files instead of going through WordPress, some files or temp tables could remain.
|
202 |
+
|
203 |
== Developing with YARPP ==
|
204 |
|
205 |
= Custom post types =
|
210 |
|
211 |
= Custom displays =
|
212 |
|
213 |
+
Developers can call YARPP's powerful relatedness algorithm from anywhere in their own code. Some examples and more details are in my slides from my [WordCamp Birmingham talk](http://www.slideshare.net/mitcho/relate-all-the-things).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
Options which are not specified will default to those specified in the YARPP settings page. Additionally, if you are using the builtin template rather than specifying a custom template file in `template`, the following arguments can be used to override the various parts of the builtin template: `before_title`, `after_title`, `before_post`, `after_post`, `before_related`, `after_related`, `no_results`, `excerpt_length`.
|
216 |
|
250 |
* Italian (`it_IT`) by Gianni Diurno of [gidibao.net](http://gidibao.net)
|
251 |
* Irish (`gb_IR`) by [Ray Gren](http://letsbefamous.com)
|
252 |
* Bahasa Indonesia (`id_ID`) by [Hendry Lee](http://hendrylee.com/) of [Kelayang](http://kelayang.com/)
|
253 |
+
* Japanese (`ja`) by [Michael Yoshitaka Erlewine](http://mitcho.com)
|
254 |
* Kazakh (`kk_KZ`) by [DachaDecor](http://DachaDecor.ru)
|
255 |
* Korean (`ko_KR`) by [Jong-In Kim](http://incommunity.codex.kr)
|
256 |
* Latvian (`lv_LV`) by [Mike](http://antsar.info)
|
257 |
* Lithuanian (`lt_LT`) by [Karolis Vyčius](http://vycius.co.cc) and [Mantas Malcius](http://mantas.malcius.lt)
|
258 |
+
* Macedonian (`mk_MK`) by [WPdiscounts](http://wpdiscounts.com)
|
259 |
* Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](http://www.datanerden.no)
|
260 |
* Polish (`pl_PL`) by [Perfecta](http://perfecta.pro/wp-pl/)
|
261 |
* (European) Portuguese (`pt_PT`) by Stefan Mueller of [fernstadium-net](http://www.fernstudium-net.de)
|
269 |
* Swedish (`sv_SE`) by Max Elander
|
270 |
* Turkish (`tr_TR`) by [Nurullah](http://www.ndemir.com) and [Barış Ünver](http://beyn.org/)
|
271 |
* Vietnamese (`vi_VN`) by Vu Nguyen of [Rubik Integration](http://rubikintegration.com/)
|
272 |
+
* Ukrainian (`uk_UA`) by [Onore(Alexander Musevich)](http://Onore.kiev.ua)
|
273 |
* Uzbek (`uz_UZ`) by Ali Safarov of [comfi.com](http://www.comfi.com/)
|
274 |
|
|
|
|
|
275 |
== Changelog ==
|
276 |
|
277 |
+
= 4.0.7 =
|
278 |
+
* [Bugfix](https://wordpress.org/support/topic/orderby-error): Now more robust against certain custom options.
|
279 |
+
* Updated plugin de-activate/delete functionality to drop all tables. Prior to fix some legacy tables remained which required manual deletion in wp_options from phpmyadmin.
|
280 |
+
* Updated FAQs section.
|
281 |
+
* Update to YARPP's data collection terms and conditions.
|
282 |
+
* Added Macedonian (`mk_MK`) localization by [WPdiscounts] (http://wpdiscounts.com).
|
283 |
+
|
284 |
= 4.0.6 =
|
285 |
* YARPP's automatic display will not run on posts which include the HTML comment `<!--noyarpp-->` [by request](https://wordpress.org/support/topic/disabling-yarrp-on-specific-pages).
|
286 |
* More robust activation handling, particularly when network-activated.
|
681 |
= 3.0 =
|
682 |
* Major new release!
|
683 |
* Caching for better SQL performance
|
684 |
+
* A new templating feature for custom related posts displays
|
685 |
* Cleaned up options page
|
686 |
* New and updated localizations
|
687 |
= 2.1.6 =
|
691 |
* Bugfix: The `related_*()` functions were missing the `echo` parameter
|
692 |
* Some localization bugfixes
|
693 |
* Localizations:
|
694 |
+
* Japanese (`ja`) by [Michael Yoshitaka Erlewine](http://mitcho.com)
|
695 |
= 2.1.4 =
|
696 |
* Bugfix: [Settings' sumbmit button took you to PayPal](http://wordpress.org/support/topic/214090)
|
697 |
* Bugfix: Fixed [keyword algorithm for users without `mbstring`](http://wordpress.org/support/topic/216420)
|
uninstall.php
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Uninstall procedure.
|
4 |
+
* @since Version 4.0.7
|
5 |
+
* @author Eliezer Vargas
|
6 |
+
*/
|
7 |
+
|
8 |
+
/* Exit if plugin delete hasn't be called */
|
9 |
+
if (!defined('WP_UNINSTALL_PLUGIN')) exit();
|
10 |
+
|
11 |
+
global $wpdb;
|
12 |
+
|
13 |
+
/* Yarpp option names */
|
14 |
+
$optNames = array(
|
15 |
+
'yarpp',
|
16 |
+
'yarpp_fulltext_disabled',
|
17 |
+
'yarpp_optin_timeout',
|
18 |
+
'yarpp_version',
|
19 |
+
'yarpp_version_info',
|
20 |
+
'yarpp_version_info_timeout',
|
21 |
+
'yarpp_activated'
|
22 |
+
);
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Loop through option array and delete the option and clear and drop cache tables.
|
26 |
+
* @param array $opts Array of yarpp's options
|
27 |
+
* @param object $wpdb Wordpress db global
|
28 |
+
*/
|
29 |
+
function clean(Array $opts, $wpdb){
|
30 |
+
|
31 |
+
foreach($opts as $opt){
|
32 |
+
/* if option exist... delete it */
|
33 |
+
if(get_option($opt)) delete_option($opt);
|
34 |
+
}/*end foreach*/
|
35 |
+
|
36 |
+
/* Truncate, clear wp cache and drop cache tables */
|
37 |
+
$wpdb->query('TRUNCATE TABLE `'.$wpdb->prefix.'yarpp_related_cache`');
|
38 |
+
wp_cache_flush();
|
39 |
+
$wpdb->query('DROP TABLE `'.$wpdb->prefix.'yarpp_related_cache`');
|
40 |
+
|
41 |
+
}/*end clean */
|
42 |
+
|
43 |
+
/* Select right procedure for single or multi site */
|
44 |
+
if(is_multisite()) {
|
45 |
+
|
46 |
+
/* Get sites ids */
|
47 |
+
$blog_ids = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs");
|
48 |
+
|
49 |
+
/* Get main site id */
|
50 |
+
$original_blog_id = get_current_blog_id();
|
51 |
+
|
52 |
+
/* loop through all sites */
|
53 |
+
foreach($blog_ids as $blog_id) {
|
54 |
+
switch_to_blog($blog_id);
|
55 |
+
clean($optNames, $wpdb);
|
56 |
+
}/*end foreach*/
|
57 |
+
|
58 |
+
switch_to_blog( $original_blog_id );
|
59 |
+
|
60 |
+
} else {
|
61 |
+
clean($optNames, $wpdb);
|
62 |
+
}/*end if*/
|
yarpp.php
CHANGED
@@ -3,13 +3,12 @@
|
|
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 thumbnail support built-in!
|
6 |
-
Version: 4.0.
|
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', '4.0.
|
13 |
define('YARPP_DIR', dirname(__FILE__));
|
14 |
define('YARPP_NO_RELATED', ':(');
|
15 |
define('YARPP_RELATED', ':)');
|
@@ -24,6 +23,7 @@ require_once(YARPP_DIR.'/class-widget.php');
|
|
24 |
if ( !defined('WP_CONTENT_URL') )
|
25 |
define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
|
26 |
if ( !defined('WP_CONTENT_DIR') )
|
|
|
27 |
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
28 |
|
29 |
// New in 3.2: load YARPP cache engine
|
@@ -39,6 +39,7 @@ if ( !defined('YARPP_EXTRA_WEIGHT') )
|
|
39 |
|
40 |
// new in 3.3.3: init yarpp on init
|
41 |
add_action( 'init', 'yarpp_init' );
|
|
|
42 |
function yarpp_init() {
|
43 |
global $yarpp;
|
44 |
$yarpp = new YARPP;
|
@@ -57,4 +58,5 @@ function yarpp_get_option($option = null) {
|
|
57 |
function yarpp_plugin_activate( $network_wide ) {
|
58 |
update_option( 'yarpp_activated', true );
|
59 |
}
|
|
|
60 |
add_action( 'activate_' . plugin_basename(__FILE__), 'yarpp_plugin_activate', 10, 1 );
|
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 thumbnail support built-in!
|
6 |
+
Version: 4.0.7
|
7 |
Author: mitcho (Michael Yoshitaka Erlewine)
|
8 |
Author URI: http://mitcho.com/
|
|
|
9 |
*/
|
10 |
|
11 |
+
define('YARPP_VERSION', '4.0.7');
|
12 |
define('YARPP_DIR', dirname(__FILE__));
|
13 |
define('YARPP_NO_RELATED', ':(');
|
14 |
define('YARPP_RELATED', ':)');
|
23 |
if ( !defined('WP_CONTENT_URL') )
|
24 |
define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
|
25 |
if ( !defined('WP_CONTENT_DIR') )
|
26 |
+
/* TODO: ABSPATH should not be used */
|
27 |
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
28 |
|
29 |
// New in 3.2: load YARPP cache engine
|
39 |
|
40 |
// new in 3.3.3: init yarpp on init
|
41 |
add_action( 'init', 'yarpp_init' );
|
42 |
+
|
43 |
function yarpp_init() {
|
44 |
global $yarpp;
|
45 |
$yarpp = new YARPP;
|
58 |
function yarpp_plugin_activate( $network_wide ) {
|
59 |
update_option( 'yarpp_activated', true );
|
60 |
}
|
61 |
+
|
62 |
add_action( 'activate_' . plugin_basename(__FILE__), 'yarpp_plugin_activate', 10, 1 );
|