Link Library - Version 7.4.4

Version Description

  • Fixes for warnings in usersubmission.php
Download this release

Release Info

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

Code changes from version 7.4.3 to 7.4.4

Files changed (3) hide show
  1. link-library.php +1 -1
  2. readme.txt +4 -1
  3. usersubmission.php +2 -4
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.4.3
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.4.4
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: 6.1.1
7
- Stable tag: 7.4.3
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
 
@@ -50,6 +50,9 @@ Further configuration is available under the Link Library Settings panel.
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 7.4.3 =
54
  * Further refinement of accepted HTML tags for advanced configuration table
55
 
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: 6.1.1
7
+ Stable tag: 7.4.4
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
 
50
 
51
  == Changelog ==
52
 
53
+ = 7.4.4 =
54
+ * Fixes for warnings in usersubmission.php
55
+
56
  = 7.4.3 =
57
  * Further refinement of accepted HTML tags for advanced configuration table
58
 
usersubmission.php CHANGED
@@ -332,7 +332,7 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
332
 
333
  if ( $reciprocal_return == 'exists_found' ) {
334
  $newlinkvisibility = 'publish';
335
- unset ( $message );
336
  } else {
337
  $newlinkvisibility = 'pending';
338
  }
@@ -341,7 +341,7 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
341
  }
342
  } else {
343
  $newlinkvisibility = 'publish';
344
- unset ( $message );
345
  }
346
 
347
  $username = '';
@@ -498,8 +498,6 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
498
  update_post_meta( $new_link_ID, 'submitter_comment', $captureddata['ll_submittercomment'] );
499
  update_post_meta( $new_link_ID, 'link_reference', $captureddata['ll_linkreference'] );
500
 
501
- update_post_meta( $new_link_ID, 'link_submitter_comment', $submittercomment );
502
-
503
  update_post_meta( $new_link_ID, 'link_textfield', sanitize_text_field( $captureddata['link_textfield'] ) );
504
 
505
  update_post_meta( $new_link_ID, 'link_no_follow', false );
332
 
333
  if ( $reciprocal_return == 'exists_found' ) {
334
  $newlinkvisibility = 'publish';
335
+ $message = "";
336
  } else {
337
  $newlinkvisibility = 'pending';
338
  }
341
  }
342
  } else {
343
  $newlinkvisibility = 'publish';
344
+ $message = "";
345
  }
346
 
347
  $username = '';
498
  update_post_meta( $new_link_ID, 'submitter_comment', $captureddata['ll_submittercomment'] );
499
  update_post_meta( $new_link_ID, 'link_reference', $captureddata['ll_linkreference'] );
500
 
 
 
501
  update_post_meta( $new_link_ID, 'link_textfield', sanitize_text_field( $captureddata['link_textfield'] ) );
502
 
503
  update_post_meta( $new_link_ID, 'link_no_follow', false );