Link Library - Version 7.4.2

Version Description

  • Implemented some accessibility functions in tag filter
  • Fixed advanced table to accept HTML values once again
Download this release

Release Info

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

Code changes from version 7.4.1 to 7.4.2

link-library-admin.php CHANGED
@@ -2894,7 +2894,7 @@ wp_editor( $post->post_content, 'content', $editor_config );
2894
  ) as $option_name
2895
  ) {
2896
  if ( isset( $_POST[$option_name] ) ) {
2897
- $options[$option_name] = sanitize_text_field( str_replace( "\"", "'", $_POST[$option_name] ) );
2898
  }
2899
  }
2900
 
2894
  ) as $option_name
2895
  ) {
2896
  if ( isset( $_POST[$option_name] ) ) {
2897
+ $options[$option_name] = wp_kses( str_replace( "\"", "'", $_POST[$option_name] ), $this->allowed_html_tags() );
2898
  }
2899
  }
2900
 
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.1
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
@@ -485,8 +485,7 @@ class link_library_plugin {
485
  $post_type_args['hierarchical'] = true;
486
  $post_type_args['graphql_single_name'] = 'linklibrary';
487
  $post_type_args['graphql_plural_name'] = 'linklibrary';
488
- }
489
-
490
 
491
  if ( $genoptions['exclude_from_search'] && $genoptions['publicly_queryable'] ) {
492
  unset( $post_type_args['exclude_from_search'] );
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.2
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
485
  $post_type_args['hierarchical'] = true;
486
  $post_type_args['graphql_single_name'] = 'linklibrary';
487
  $post_type_args['graphql_plural_name'] = 'linklibrary';
488
+ }
 
489
 
490
  if ( $genoptions['exclude_from_search'] && $genoptions['publicly_queryable'] ) {
491
  unset( $post_type_args['exclude_from_search'] );
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.1
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,10 @@ Further configuration is available under the Link Library Settings panel.
50
 
51
  == Changelog ==
52
 
 
 
 
 
53
  = 7.4.1 =
54
  * Security fixes
55
  * Added support for WPGraphQL
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.2
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.2 =
54
+ * Implemented some accessibility functions in tag filter
55
+ * Fixed advanced table to accept HTML values once again
56
+
57
  = 7.4.1 =
58
  * Security fixes
59
  * Added support for WPGraphQL
render-link-library-tag-filter-sc.php CHANGED
@@ -50,7 +50,7 @@ function RenderLinkLibraryFilterBox( $LLPluginClass, $generaloptions, $libraryop
50
  $output .= '<div class="tag-filters-choices">';
51
 
52
  foreach ( $link_terms as $link_term ) {
53
- $output .= '<input type="checkbox" name="link_tag_list[]" class="link_tag_list" ' . checked( in_array( $link_term->slug, $prev_link_tags_array ), true, false ) . ' value="' . $link_term->slug . '"/> ' . $link_term->name . '<br/>';
54
  }
55
 
56
  $output .= '</div>';
50
  $output .= '<div class="tag-filters-choices">';
51
 
52
  foreach ( $link_terms as $link_term ) {
53
+ $output .= '<div class="filter-choice"><label><input type="checkbox" name="link_tag_list[]" class="link_tag_list" ' . checked( in_array( $link_term->slug, $prev_link_tags_array ), true, false ) . ' value="' . $link_term->slug . '"/> ' . $link_term->name . '</label></div>';
54
  }
55
 
56
  $output .= '</div>';