Link Library - Version 7.1.6

Version Description

  • Fixed for RSS Feed Checking tool
Download this release

Release Info

Developer jackdewey
Plugin Icon 128x128 Link Library
Version 7.1.6
Comparing to
See all releases

Code changes from version 7.1.5 to 7.1.6

Files changed (3) hide show
  1. link-library-admin.php +3 -2
  2. link-library.php +1 -1
  3. readme.txt +4 -1
link-library-admin.php CHANGED
@@ -7243,7 +7243,7 @@ function general_custom_fields_meta_box( $data ) {
7243
  </td>
7244
  </tr>
7245
  <tr>
7246
- <td style='width: 250px'><?php _e( 'RSS Feed freshnesh threshold (days)', 'link-library' ); ?></td>
7247
  <td>
7248
  <input type="text" id="rsscheckdays" name="rsscheckdays" size="3" value="<?php echo $genoptions['rsscheckdays']; ?>" />
7249
  </td>
@@ -8305,6 +8305,7 @@ function link_library_reciprocal_link_checker() {
8305
  $RecipCheckAddress = ( isset( $_POST['RecipCheckAddress'] ) && !empty( $_POST['RecipCheckAddress'] ) ? $_POST['RecipCheckAddress'] : '' );
8306
  $recipcheckdelete403 = ( isset( $_POST['recipcheckdelete403'] ) && !empty( $_POST['recipcheckdelete403'] ) && 'true' == $_POST['recipcheckdelete403'] ? true : false );
8307
  $check_type = ( isset( $_POST['mode'] ) && !empty( $_POST['mode'] ) ? $_POST['mode'] : 'reciprocal' );
 
8308
 
8309
  if ( ! empty( $RecipCheckAddress ) || ( empty( $RecipCheckAddress ) && ( 'reciprocal' != $check_type || 'emptycat' == $check_type ) ) ) {
8310
  $args = array(
@@ -8386,7 +8387,7 @@ function link_library_reciprocal_link_checker() {
8386
  $pub_timestamp = strtotime( $item->get_date( 'F j, Y, g:i a' ) );
8387
 
8388
  $date_diff = time() - $pub_timestamp;
8389
- $time_limit = intval( $genoptions['rsscheckdays'] ) * 86400;
8390
 
8391
  if ( $date_diff > $time_limit ) {
8392
  $old_rss = true;
7243
  </td>
7244
  </tr>
7245
  <tr>
7246
+ <td style='width: 250px'><?php _e( 'RSS Feed freshness threshold (days)', 'link-library' ); ?></td>
7247
  <td>
7248
  <input type="text" id="rsscheckdays" name="rsscheckdays" size="3" value="<?php echo $genoptions['rsscheckdays']; ?>" />
7249
  </td>
8305
  $RecipCheckAddress = ( isset( $_POST['RecipCheckAddress'] ) && !empty( $_POST['RecipCheckAddress'] ) ? $_POST['RecipCheckAddress'] : '' );
8306
  $recipcheckdelete403 = ( isset( $_POST['recipcheckdelete403'] ) && !empty( $_POST['recipcheckdelete403'] ) && 'true' == $_POST['recipcheckdelete403'] ? true : false );
8307
  $check_type = ( isset( $_POST['mode'] ) && !empty( $_POST['mode'] ) ? $_POST['mode'] : 'reciprocal' );
8308
+ $rsscheckdays = ( ( isset( $_POST['rsscheckdays'] ) && !empty( $_POST['rsscheckdays'] ) ) ? intval( $_POST['rsscheckdays'] ) : $genoptions['rsscheckdays'] );
8309
 
8310
  if ( ! empty( $RecipCheckAddress ) || ( empty( $RecipCheckAddress ) && ( 'reciprocal' != $check_type || 'emptycat' == $check_type ) ) ) {
8311
  $args = array(
8387
  $pub_timestamp = strtotime( $item->get_date( 'F j, Y, g:i a' ) );
8388
 
8389
  $date_diff = time() - $pub_timestamp;
8390
+ $time_limit = intval( $rsscheckdays ) * 86400;
8391
 
8392
  if ( $date_diff > $time_limit ) {
8393
  $old_rss = true;
link-library.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
- Version: 7.1.5
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
+ Version: 7.1.6
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://ylefebvre.github.io/wordpress-plugins/link-library/
4
  Tags: link, list, directory, page, library, AJAX, RSS, feeds, inline, search, paging, add, submit, import, batch, pop-up
5
  Requires at least: 4.4
6
  Tested up to: 5.7.1
7
- Stable tag: 7.1.5
8
 
9
  The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
10
 
@@ -48,6 +48,9 @@ Further configuration is available under the Link Library Settings panel.
48
 
49
  == Changelog ==
50
 
 
 
 
51
  = 7.1.5 =
52
  * Added new RSS Feed checking tool under Link Checking Tools
53
 
4
  Tags: link, list, directory, page, library, AJAX, RSS, feeds, inline, search, paging, add, submit, import, batch, pop-up
5
  Requires at least: 4.4
6
  Tested up to: 5.7.1
7
+ Stable tag: 7.1.6
8
 
9
  The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
10
 
48
 
49
  == Changelog ==
50
 
51
+ = 7.1.6 =
52
+ * Fixed for RSS Feed Checking tool
53
+
54
  = 7.1.5 =
55
  * Added new RSS Feed checking tool under Link Checking Tools
56