Link Library - Version 7.3.6

Version Description

  • Fix for item sorting with publication date
Download this release

Release Info

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

Code changes from version 7.3.5 to 7.3.6

Files changed (3) hide show
  1. link-library.php +2 -2
  2. readme.txt +5 -2
  3. render-link-library-sc.php +1 -1
link-library.php CHANGED
@@ -3,13 +3,13 @@
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.3.5
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
10
 
11
  A plugin for the blogging MySQL/PHP-based WordPress.
12
- Copyright 2021 Yannick Lefebvre
13
 
14
  Translations:
15
  French Translation courtesy of Luc Capronnier
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.3.6
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
10
 
11
  A plugin for the blogging MySQL/PHP-based WordPress.
12
+ Copyright 2022 Yannick Lefebvre
13
 
14
  Translations:
15
  French Translation courtesy of Luc Capronnier
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.9
7
- Stable tag: 7.3.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
 
@@ -12,7 +12,7 @@ The purpose of this plugin is to add the ability to output a list of link catego
12
 
13
  This plugin is used to be able to create a page on your web site that will contain a list of all of the link categories that you have defined inside of the Links section of the Wordpress administration, along with all links defined in these categories. The user can select a sub-set of categories to be displayed or not displayed. Link Library also offers a mode where only one category is shown at a time, using AJAX or HTML Get queries to load other categories based on user input. It can display a search box and find results based on queries. It can also display a form to accept user submissions and allow the site administrator to moderate them before listing the new entries. Finally, it can generate an RSS feed for your link collection so that people can be aware of additions to your link library.
14
 
15
- You can try it out in a temporary copy of WordPress [here](https://demo.tastewp.com/link-library)
16
 
17
  For links that carry RSS feed information, Link Library can display a preview of the latest feed items inline with the all links or in a separate preview window.
18
 
@@ -50,6 +50,9 @@ Further configuration is available under the Link Library Settings panel.
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 7.3.5 =
54
  * Additional fixes for featured item sorting
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: 5.9
7
+ Stable tag: 7.3.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
 
12
 
13
  This plugin is used to be able to create a page on your web site that will contain a list of all of the link categories that you have defined inside of the Links section of the Wordpress administration, along with all links defined in these categories. The user can select a sub-set of categories to be displayed or not displayed. Link Library also offers a mode where only one category is shown at a time, using AJAX or HTML Get queries to load other categories based on user input. It can display a search box and find results based on queries. It can also display a form to accept user submissions and allow the site administrator to moderate them before listing the new entries. Finally, it can generate an RSS feed for your link collection so that people can be aware of additions to your link library.
14
 
15
+ You can try it out in a temporary copy of WordPress [here](https://demo.tastewp.com/link-library).
16
 
17
  For links that carry RSS feed information, Link Library can display a preview of the latest feed items inline with the all links or in a separate preview window.
18
 
50
 
51
  == Changelog ==
52
 
53
+ = 7.3.6 =
54
+ * Fix for item sorting with publication date
55
+
56
  = 7.3.5 =
57
  * Additional fixes for featured item sorting
58
 
render-link-library-sc.php CHANGED
@@ -932,7 +932,7 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
932
  $link_query_args['meta_query']['link_updated_clause'] = array( 'key' => 'link_updated' );
933
  $link_query_args['orderby']['link_updated_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
934
  } elseif ( 'pubdate' == $linkorder ) {
935
- $link_query_args['orderby']['publish_date'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
936
  } elseif ( 'price' == $linkorder ) {
937
  $link_query_args['meta_query']['link_price_clause'] = array( 'key' => 'link_price' );
938
  $link_query_args['orderby']['link_price_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
932
  $link_query_args['meta_query']['link_updated_clause'] = array( 'key' => 'link_updated' );
933
  $link_query_args['orderby']['link_updated_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
934
  } elseif ( 'pubdate' == $linkorder ) {
935
+ $link_query_args['orderby']['date'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
936
  } elseif ( 'price' == $linkorder ) {
937
  $link_query_args['meta_query']['link_price_clause'] = array( 'key' => 'link_price' );
938
  $link_query_args['orderby']['link_price_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';