Version Description
- Tested on WordPress 4.2.2.
- Styling fix: User can now override all YARPP CSS styling
Download this release
Release Info
Developer | jeffparker |
Plugin | Yet Another Related Posts Plugin (YARPP) |
Version | 4.2.5 |
Comparing to | |
See all releases |
Code changes from version 4.2.4 to 4.2.5
- includes/phtmls/yarpp_options.phtml +1 -0
- includes/yarpp_options.php +1 -1
- readme.txt +6 -2
- style/options_basic.css +7 -7
- style/options_switch.css +8 -8
- style/related.css +21 -21
- yarpp.php +2 -2
includes/phtmls/yarpp_options.phtml
CHANGED
@@ -64,6 +64,7 @@
|
|
64 |
|
65 |
<div>
|
66 |
<input type="submit" class='button-primary' name="update_yarpp" value="<?php _e('Save Changes')?>" />
|
|
|
67 |
</div>
|
68 |
|
69 |
</div><!--#poststuff-->
|
64 |
|
65 |
<div>
|
66 |
<input type="submit" class='button-primary' name="update_yarpp" value="<?php _e('Save Changes')?>" />
|
67 |
+
<?php wp_nonce_field( 'update_yarpp', 'update_yarpp-nonce' ); ?>
|
68 |
</div>
|
69 |
|
70 |
</div><!--#poststuff-->
|
includes/yarpp_options.php
CHANGED
@@ -73,7 +73,7 @@ if (current_user_can('update_plugins')) {
|
|
73 |
include 'yarpp_myisam_notice.php';
|
74 |
|
75 |
/* This is not a yarpp pluging update, it is an yarpp option update */
|
76 |
-
if (isset($_POST['update_yarpp'])) {
|
77 |
$new_options = array();
|
78 |
foreach ($yarpp->default_options as $option => $default) {
|
79 |
if ( is_bool($default) )
|
73 |
include 'yarpp_myisam_notice.php';
|
74 |
|
75 |
/* This is not a yarpp pluging update, it is an yarpp option update */
|
76 |
+
if (isset($_POST['update_yarpp']) && check_admin_referer('update_yarpp', 'update_yarpp-nonce')) {
|
77 |
$new_options = array();
|
78 |
foreach ($yarpp->default_options as $option => $default) {
|
79 |
if ( is_bool($default) )
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://www.yarpp.com/
|
|
5 |
Plugin URI: http://www.yarpp.com/
|
6 |
Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
|
7 |
Requires at least: 3.3
|
8 |
-
Tested up to: 4.
|
9 |
-
Stable tag: 4.2.
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
|
@@ -298,6 +298,10 @@ YARPP is currently localized in the following languages:
|
|
298 |
|
299 |
== Changelog ==
|
300 |
|
|
|
|
|
|
|
|
|
301 |
= 4.2.4 =
|
302 |
* Bugfix: Missing internal version number update
|
303 |
|
5 |
Plugin URI: http://www.yarpp.com/
|
6 |
Tags: feeds, pages, posts, related, rss, yarpp, ads, multisite, multilingual, thumbnails, related posts, related content
|
7 |
Requires at least: 3.3
|
8 |
+
Tested up to: 4.2.2
|
9 |
+
Stable tag: 4.2.5
|
10 |
License: GPLv2 or later
|
11 |
|
12 |
Display a list of related posts on your site based on a powerful unique algorithm. Earn money by including sponsored content!
|
298 |
|
299 |
== Changelog ==
|
300 |
|
301 |
+
= 4.2.5 =
|
302 |
+
* Tested on WordPress 4.2.2.
|
303 |
+
* Styling fix: User can now override all YARPP CSS styling
|
304 |
+
|
305 |
= 4.2.4 =
|
306 |
* Bugfix: Missing internal version number update
|
307 |
|
style/options_basic.css
CHANGED
@@ -232,7 +232,7 @@ body.rtl .yarpp_code_display {
|
|
232 |
min-height: 25px;
|
233 |
max-height: 100px;
|
234 |
width: 60%;
|
235 |
-
vertical-align: middle
|
236 |
}
|
237 |
|
238 |
@media all and (max-width:1200px) {
|
@@ -305,14 +305,14 @@ body.rtl #yarpp-optin-learnmore {
|
|
305 |
box-shadow: none;
|
306 |
border-color: #ddd;
|
307 |
background: #f3f3f3;
|
308 |
-
background-image: -webkit-linear-gradient(top, #FEFEFE, #F4F4F4)
|
309 |
-
background-image: -moz-linear-gradient(top, #FEFEFE, #F4F4F4)
|
310 |
-
background-image: -o-linear-gradient(top, #FEFEFE, #F4F4F4)
|
311 |
-
background-image: linear-gradient(top, #FEFEFE, #F4F4F4)
|
312 |
}
|
313 |
|
314 |
.yarpp_template_button.disabled > div.label {
|
315 |
-
color: #bbb
|
316 |
}
|
317 |
|
318 |
.yarpp_template_button:hover {
|
@@ -348,7 +348,7 @@ body.rtl #yarpp-optin-learnmore {
|
|
348 |
}
|
349 |
|
350 |
.yarpp_template_button.disabled > div.image {
|
351 |
-
opacity: 0.2
|
352 |
}
|
353 |
|
354 |
.yarpp_template_button:active > div.image {
|
232 |
min-height: 25px;
|
233 |
max-height: 100px;
|
234 |
width: 60%;
|
235 |
+
vertical-align: middle;
|
236 |
}
|
237 |
|
238 |
@media all and (max-width:1200px) {
|
305 |
box-shadow: none;
|
306 |
border-color: #ddd;
|
307 |
background: #f3f3f3;
|
308 |
+
background-image: -webkit-linear-gradient(top, #FEFEFE, #F4F4F4);
|
309 |
+
background-image: -moz-linear-gradient(top, #FEFEFE, #F4F4F4);
|
310 |
+
background-image: -o-linear-gradient(top, #FEFEFE, #F4F4F4);
|
311 |
+
background-image: linear-gradient(top, #FEFEFE, #F4F4F4);
|
312 |
}
|
313 |
|
314 |
.yarpp_template_button.disabled > div.label {
|
315 |
+
color: #bbb;
|
316 |
}
|
317 |
|
318 |
.yarpp_template_button:hover {
|
348 |
}
|
349 |
|
350 |
.yarpp_template_button.disabled > div.image {
|
351 |
+
opacity: 0.2;
|
352 |
}
|
353 |
|
354 |
.yarpp_template_button:active > div.image {
|
style/options_switch.css
CHANGED
@@ -32,8 +32,8 @@ a{
|
|
32 |
}
|
33 |
|
34 |
.disabled{
|
35 |
-
background: #ededed
|
36 |
-
border-bottom-color: #dfdfdf
|
37 |
}
|
38 |
|
39 |
#yarpp_switch_tabs a{
|
@@ -41,9 +41,9 @@ a{
|
|
41 |
}
|
42 |
|
43 |
.disabled>a:hover{
|
44 |
-
color: #000
|
45 |
-
text-shadow: 1px 1px 0.1em #aaa
|
46 |
-
margin-top: -1px
|
47 |
}
|
48 |
|
49 |
.yarpp_switch_content{
|
@@ -132,9 +132,9 @@ a{
|
|
132 |
}
|
133 |
|
134 |
#yarpp_pro_api_settings #yarpp_pro_settings_submit[disabled]{
|
135 |
-
border: none
|
136 |
-
padding: 8px
|
137 |
-
margin: 1px
|
138 |
}
|
139 |
|
140 |
#yarpp-display-mode {
|
32 |
}
|
33 |
|
34 |
.disabled{
|
35 |
+
background: #ededed;
|
36 |
+
border-bottom-color: #dfdfdf;
|
37 |
}
|
38 |
|
39 |
#yarpp_switch_tabs a{
|
41 |
}
|
42 |
|
43 |
.disabled>a:hover{
|
44 |
+
color: #000;
|
45 |
+
text-shadow: 1px 1px 0.1em #aaa;
|
46 |
+
margin-top: -1px;
|
47 |
}
|
48 |
|
49 |
.yarpp_switch_content{
|
132 |
}
|
133 |
|
134 |
#yarpp_pro_api_settings #yarpp_pro_settings_submit[disabled]{
|
135 |
+
border: none;
|
136 |
+
padding: 8px;
|
137 |
+
margin: 1px;
|
138 |
}
|
139 |
|
140 |
#yarpp-display-mode {
|
style/related.css
CHANGED
@@ -1,35 +1,35 @@
|
|
1 |
.yarpp-related {
|
2 |
-
margin: 1em 0
|
3 |
}
|
4 |
|
5 |
.yarpp-related a{
|
6 |
-
text-decoration: none
|
7 |
-
font-weight: bold
|
8 |
}
|
9 |
|
10 |
.yarpp-related .yarpp-thumbnail-title{
|
11 |
-
text-align: left
|
12 |
-
font-weight: bold
|
13 |
-
font-size: 96
|
14 |
-
text-decoration: none
|
15 |
}
|
16 |
|
17 |
.yarpp-related h3{
|
18 |
-
font-weight: bold
|
19 |
-
padding: 0 0 5px 0
|
20 |
-
font-size: 125
|
21 |
-
text-transform: capitalize
|
22 |
-
margin: 0
|
23 |
}
|
24 |
|
25 |
.yarpp-related .yarpp-promote{
|
26 |
-
clear: both
|
27 |
-
background: url(//api.engage.bidsystem.com/adk_mini_logo.png) no-repeat
|
28 |
-
float: right
|
29 |
-
text-indent: -1000px
|
30 |
-
cursor: pointer
|
31 |
-
color: #666
|
32 |
-
font-size: 11px
|
33 |
-
height: 17px
|
34 |
-
width: 78px
|
35 |
}
|
1 |
.yarpp-related {
|
2 |
+
margin: 1em 0;
|
3 |
}
|
4 |
|
5 |
.yarpp-related a{
|
6 |
+
text-decoration: none;
|
7 |
+
font-weight: bold;
|
8 |
}
|
9 |
|
10 |
.yarpp-related .yarpp-thumbnail-title{
|
11 |
+
text-align: left;
|
12 |
+
font-weight: bold;
|
13 |
+
font-size: 96%;
|
14 |
+
text-decoration: none;
|
15 |
}
|
16 |
|
17 |
.yarpp-related h3{
|
18 |
+
font-weight: bold;
|
19 |
+
padding: 0 0 5px 0;
|
20 |
+
font-size: 125%;
|
21 |
+
text-transform: capitalize;
|
22 |
+
margin: 0;
|
23 |
}
|
24 |
|
25 |
.yarpp-related .yarpp-promote{
|
26 |
+
clear: both;
|
27 |
+
background: url(//api.engage.bidsystem.com/adk_mini_logo.png) no-repeat;
|
28 |
+
float: right;
|
29 |
+
text-indent: -1000px;
|
30 |
+
cursor: pointer;
|
31 |
+
color: #666;
|
32 |
+
font-size: 11px;
|
33 |
+
height: 17px;
|
34 |
+
width: 78px;
|
35 |
}
|
yarpp.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*----------------------------------------------------------------------------------------------------------------------
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
|
5 |
-
Version: 4.2.
|
6 |
Author: Adknowledge
|
7 |
Author URI: http://www.yarpp.com/
|
8 |
Plugin URI: http://www.yarpp.com/
|
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_DIR')){
|
|
14 |
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
|
15 |
}
|
16 |
|
17 |
-
define('YARPP_VERSION', '4.2.
|
18 |
define('YARPP_DIR', dirname(__FILE__));
|
19 |
define('YARPP_URL', plugins_url('',__FILE__));
|
20 |
define('YARPP_NO_RELATED', ':(');
|
2 |
/*----------------------------------------------------------------------------------------------------------------------
|
3 |
Plugin Name: Yet Another Related Posts Plugin
|
4 |
Description: Adds related posts to your site and in RSS feeds, based on a powerful, customizable algorithm. Enabling YARPP Pro gives you access to even more powerful features. <a href="http://www.yarpp.com" target="_blank">Find out more</a>.
|
5 |
+
Version: 4.2.5
|
6 |
Author: Adknowledge
|
7 |
Author URI: http://www.yarpp.com/
|
8 |
Plugin URI: http://www.yarpp.com/
|
14 |
define('WP_CONTENT_DIR', substr($tr,0,strrpos($tr,'/')));
|
15 |
}
|
16 |
|
17 |
+
define('YARPP_VERSION', '4.2.5');
|
18 |
define('YARPP_DIR', dirname(__FILE__));
|
19 |
define('YARPP_URL', plugins_url('',__FILE__));
|
20 |
define('YARPP_NO_RELATED', ':(');
|