Link Library - Version 7.3.4

Version Description

  • Fixed problem with quotes getting escaped in library-specific stylesheet editor
Download this release

Release Info

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

Code changes from version 7.3.3 to 7.3.4

Files changed (3) hide show
  1. link-library-admin.php +1 -1
  2. link-library.php +13 -9
  3. readme.txt +4 -1
link-library-admin.php CHANGED
@@ -6324,7 +6324,7 @@ function general_custom_fields_meta_box( $data ) {
6324
  ?>
6325
 
6326
  <div style='padding-top:15px' id="ll-style" class="content-section">
6327
- <textarea name='stylesheet' id='fancy-textarea' style='font-family:Courier' rows="30" cols="100"><?php echo $options['stylesheet']; ?></textarea>
6328
  </div>
6329
 
6330
  <?php }
6324
  ?>
6325
 
6326
  <div style='padding-top:15px' id="ll-style" class="content-section">
6327
+ <textarea name='stylesheet' id='fancy-textarea' style='font-family:Courier' rows="30" cols="100"><?php echo stripslashes( $options['stylesheet'] ); ?></textarea>
6328
  </div>
6329
 
6330
  <?php }
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.3.3
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
@@ -1009,16 +1009,20 @@ class link_library_plugin {
1009
  }
1010
 
1011
  if ( !empty( $settingssetsids ) ) {
 
1012
  foreach ( $settingssetsids as $setting ) {
1013
- $settingsname = 'LinkLibraryPP' . $setting;
1014
- $options = get_option( $settingsname );
1015
- $options = wp_parse_args( $options, ll_reset_options( 1, 'list', 'return' ) );
 
 
1016
 
1017
- if ( !empty( $options['stylesheet'] ) ) {
1018
- echo "<style id='LinkLibrarySettings" . $setting . "Style' type='text/css'>\n";
1019
- echo stripslashes( $options['stylesheet'] ) . "\n";
1020
- echo "</style>\n";
1021
- }
 
1022
  }
1023
  }
1024
  }
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.4
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
1009
  }
1010
 
1011
  if ( !empty( $settingssetsids ) ) {
1012
+ $processedsettings = array();
1013
  foreach ( $settingssetsids as $setting ) {
1014
+ if ( !in_array( $setting, $processedsettings ) ) {
1015
+ $processedsettings[] = $setting;
1016
+ $settingsname = 'LinkLibraryPP' . $setting;
1017
+ $options = get_option( $settingsname );
1018
+ $options = wp_parse_args( $options, ll_reset_options( 1, 'list', 'return' ) );
1019
 
1020
+ if ( !empty( $options['stylesheet'] ) ) {
1021
+ echo "<style id='LinkLibrarySettings" . $setting . "Style' type='text/css'>\n";
1022
+ echo stripslashes( $options['stylesheet'] ) . "\n";
1023
+ echo "</style>\n";
1024
+ }
1025
+ }
1026
  }
1027
  }
1028
  }
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.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
 
@@ -48,6 +48,9 @@ Further configuration is available under the Link Library Settings panel.
48
 
49
  == Changelog ==
50
 
 
 
 
51
  = 7.3.3 =
52
  * Fixed problem with featured links not longer appearing ahead of other link when ordering by title and having specified articles to be ignored
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.9
7
+ Stable tag: 7.3.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
 
48
 
49
  == Changelog ==
50
 
51
+ = 7.3.4 =
52
+ * Fixed problem with quotes getting escaped in library-specific stylesheet editor
53
+
54
  = 7.3.3 =
55
  * Fixed problem with featured links not longer appearing ahead of other link when ordering by title and having specified articles to be ignored
56