Link Library - Version 6.0-Beta2

Version Description

Download this release

Release Info

Developer jackdewey
Plugin Icon 128x128 Link Library
Version 6.0-Beta2
Comparing to
See all releases

Code changes from version 6.0-Beta1 to 6.0-Beta2

Files changed (2) hide show
  1. link-library.php +3 -2
  2. readme.txt +10 -2
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: 6.0 Beta 1
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.ca/
9
  Text Domain: link-library
@@ -1135,7 +1135,8 @@ class link_library_plugin {
1135
 
1136
  $content = htmlspecialchars_decode( stripslashes( $genoptions['single_link_layout'] ) );
1137
 
1138
- if ( !empty( get_the_ID() ) ) {
 
1139
  $link = get_post( get_the_ID() );
1140
  if ( !empty( $link ) ) {
1141
  $link_url = esc_url( get_post_meta( get_the_ID(), 'link_url', true ) );
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: 6.0 Beta 2
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.ca/
9
  Text Domain: link-library
1135
 
1136
  $content = htmlspecialchars_decode( stripslashes( $genoptions['single_link_layout'] ) );
1137
 
1138
+ $item_id = get_the_ID();
1139
+ if ( !empty( $item_id ) ) {
1140
  $link = get_post( get_the_ID() );
1141
  if ( !empty( $link ) ) {
1142
  $link_url = esc_url( get_post_meta( get_the_ID(), 'link_url', true ) );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: jackdewey
3
  Donate link: http://ylefebvre.ca/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: 4.7
7
  Stable tag: stable
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.
@@ -59,9 +59,17 @@ Further configuration is available under the Link Library Settings panel.
59
 
60
  == Changelog ==
61
 
62
- = 6.0 =
 
 
 
63
  * Complete re-work of Link Library to use Custom Post Types instead of the WordPress legacy link tables
64
 
 
 
 
 
 
65
  = 5.9.15.1 =
66
  * Added new field to link editor to be able to specify additional rel tags for a link using free-form text
67
 
3
  Donate link: http://ylefebvre.ca/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: 4.9.4
7
  Stable tag: stable
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.
59
 
60
  == Changelog ==
61
 
62
+ = 6.0 Beta 2 =
63
+ * Fixed compatibility issue with versions of PHP older than 5.5
64
+
65
+ = 6.0 Beta 1 =
66
  * Complete re-work of Link Library to use Custom Post Types instead of the WordPress legacy link tables
67
 
68
+ = 5.9.15.2 =
69
+ * Added admin message for version 6.0 Beta 1
70
+ * Added reset button to search form
71
+ * Added function to grey out categories when displayed in search if they do not contain any links
72
+
73
  = 5.9.15.1 =
74
  * Added new field to link editor to be able to specify additional rel tags for a link using free-form text
75