Version Description
- Increased character limit for user form fields from 255 to 1024 characters
Download this release
Release Info
Developer | jackdewey |
Plugin | Link Library |
Version | 7.2.7 |
Comparing to | |
See all releases |
Code changes from version 7.2.6 to 7.2.7
- link-library.php +1 -1
- readme.txt +4 -1
- render-link-library-addlink-sc.php +8 -8
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.2.
|
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.2.7
|
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: 5.8
|
7 |
-
Stable tag: 7.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 |
|
@@ -48,6 +48,9 @@ Further configuration is available under the Link Library Settings panel.
|
|
48 |
|
49 |
== Changelog ==
|
50 |
|
|
|
|
|
|
|
51 |
= 7.2.6 =
|
52 |
* Further fixes for hide donation and display of new feature box
|
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.8
|
7 |
+
Stable tag: 7.2.7
|
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.2.7 =
|
52 |
+
* Increased character limit for user form fields from 255 to 1024 characters
|
53 |
+
|
54 |
= 7.2.6 =
|
55 |
* Further fixes for hide donation and display of new feature box
|
56 |
|
render-link-library-addlink-sc.php
CHANGED
@@ -305,7 +305,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
305 |
$output .= 'class="lltooltip" title="' . $linknametooltip . '"';
|
306 |
}
|
307 |
|
308 |
-
$output .= '><input data-validation="required length" data-validation-length="
|
309 |
break;
|
310 |
case 2: //------------------ Link Address --------------------
|
311 |
if ( $showaddlinkfile == 'hide' ) {
|
@@ -321,7 +321,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
321 |
|
322 |
$output .= '><input ';
|
323 |
if ( !$addlinknoaddress ) {
|
324 |
-
$output .= 'data-validation="required url length" data-validation-length="
|
325 |
}
|
326 |
$output .= 'type="text" name="link_url" id="link_url" value="' . ( isset( $captureddata['link_url'] ) ? esc_html( stripslashes( $captureddata['link_url'] ), '1') : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
327 |
}
|
@@ -364,7 +364,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
364 |
$requiredtext = '';
|
365 |
}
|
366 |
|
367 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="
|
368 |
|
369 |
$output .= ' type="text" name="link_rss" id="link_rss" value="' . ( isset( $captureddata['link_rss'] ) ? esc_html( stripslashes( $captureddata['link_rss'] ), '1') : '' ) . "\" /></td></tr>\n";
|
370 |
}
|
@@ -548,7 +548,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
548 |
$requiredtext = '';
|
549 |
}
|
550 |
|
551 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="
|
552 |
|
553 |
$output .= ' type="text" name="link_description" id="link_description" value="' . ( isset( $captureddata['link_description'] ) ? esc_html( stripslashes( $captureddata['link_description'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
554 |
}
|
@@ -655,7 +655,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
655 |
$requiredtext = '';
|
656 |
}
|
657 |
|
658 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="
|
659 |
|
660 |
$output .= 'type="text" name="ll_reciprocal" id="ll_reciprocal" value="' . ( isset( $captureddata['ll_reciprocal'] ) ? esc_html(stripslashes($captureddata['ll_reciprocal']), '1') : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
661 |
}
|
@@ -680,7 +680,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
680 |
$requiredtext = '';
|
681 |
}
|
682 |
|
683 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="
|
684 |
|
685 |
$output .= 'type="text" name="ll_secondwebaddr" id="ll_secondwebaddr" value="' . ( isset( $captureddata['ll_secondwebaddr'] ) ? esc_html( stripslashes( $captureddata['ll_secondwebaddr'] ), '1' ) : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
686 |
}
|
@@ -1064,7 +1064,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
1064 |
$requiredtext = '';
|
1065 |
}
|
1066 |
|
1067 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="
|
1068 |
|
1069 |
$output .= 'type="text" name="ll_customurl' . $customurlfieldid . '" id="ll_customurl' . $customurlfieldid . '" value="' . ( isset( $captureddata['ll_customurl' . $customurlfieldid] ) ? esc_html(stripslashes($captureddata['ll_customurl' . $customurlfieldid]), '1') : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
1070 |
}
|
@@ -1097,7 +1097,7 @@ function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $library
|
|
1097 |
$requiredtext = '';
|
1098 |
}
|
1099 |
|
1100 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="
|
1101 |
|
1102 |
$output .= 'type="text" name="ll_customtext' . $customtextfieldid . '" id="ll_customtext' . $customtextfieldid . '" value="' . ( isset( $captureddata['ll_customtext' . $customtextfieldid] ) ? sanitize_text_field(stripslashes($captureddata['ll_customtext' . $customtextfieldid])) : '' ) . "\" /></td></tr>\n";
|
1103 |
}
|
305 |
$output .= 'class="lltooltip" title="' . $linknametooltip . '"';
|
306 |
}
|
307 |
|
308 |
+
$output .= '><input data-validation="required length" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" type="text" name="link_name" id="link_name" value="' . ( isset( $captureddata['link_name'] ) ? esc_html( stripslashes( $captureddata['link_name'] ), '1' ) : '') . "\" /></td></tr>\n";
|
309 |
break;
|
310 |
case 2: //------------------ Link Address --------------------
|
311 |
if ( $showaddlinkfile == 'hide' ) {
|
321 |
|
322 |
$output .= '><input ';
|
323 |
if ( !$addlinknoaddress ) {
|
324 |
+
$output .= 'data-validation="required url length" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field, URL', 'link-library' ) . '" ';
|
325 |
}
|
326 |
$output .= 'type="text" name="link_url" id="link_url" value="' . ( isset( $captureddata['link_url'] ) ? esc_html( stripslashes( $captureddata['link_url'] ), '1') : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
327 |
}
|
364 |
$requiredtext = '';
|
365 |
}
|
366 |
|
367 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field, 1-1024 chars', 'link-library' ) . '" ';
|
368 |
|
369 |
$output .= ' type="text" name="link_rss" id="link_rss" value="' . ( isset( $captureddata['link_rss'] ) ? esc_html( stripslashes( $captureddata['link_rss'] ), '1') : '' ) . "\" /></td></tr>\n";
|
370 |
}
|
548 |
$requiredtext = '';
|
549 |
}
|
550 |
|
551 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field, 1-1024 chars', 'link-library' ) . '" ';
|
552 |
|
553 |
$output .= ' type="text" name="link_description" id="link_description" value="' . ( isset( $captureddata['link_description'] ) ? esc_html( stripslashes( $captureddata['link_description'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
554 |
}
|
655 |
$requiredtext = '';
|
656 |
}
|
657 |
|
658 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field, 1-1024 chars', 'link-library' ) . '" ';
|
659 |
|
660 |
$output .= 'type="text" name="ll_reciprocal" id="ll_reciprocal" value="' . ( isset( $captureddata['ll_reciprocal'] ) ? esc_html(stripslashes($captureddata['ll_reciprocal']), '1') : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
661 |
}
|
680 |
$requiredtext = '';
|
681 |
}
|
682 |
|
683 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
684 |
|
685 |
$output .= 'type="text" name="ll_secondwebaddr" id="ll_secondwebaddr" value="' . ( isset( $captureddata['ll_secondwebaddr'] ) ? esc_html( stripslashes( $captureddata['ll_secondwebaddr'] ), '1' ) : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
686 |
}
|
1064 |
$requiredtext = '';
|
1065 |
}
|
1066 |
|
1067 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field, 1-1024 chars', 'link-library' ) . '" ';
|
1068 |
|
1069 |
$output .= 'type="text" name="ll_customurl' . $customurlfieldid . '" id="ll_customurl' . $customurlfieldid . '" value="' . ( isset( $captureddata['ll_customurl' . $customurlfieldid] ) ? esc_html(stripslashes($captureddata['ll_customurl' . $customurlfieldid]), '1') : $linkaddrdefvalue ) . "\" /></td></tr>\n";
|
1070 |
}
|
1097 |
$requiredtext = '';
|
1098 |
}
|
1099 |
|
1100 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max1024" data-validation-error-msg-required="' . __( 'Required field, 1-1024 chars', 'link-library' ) . '" ';
|
1101 |
|
1102 |
$output .= 'type="text" name="ll_customtext' . $customtextfieldid . '" id="ll_customtext' . $customtextfieldid . '" value="' . ( isset( $captureddata['ll_customtext' . $customtextfieldid] ) ? sanitize_text_field(stripslashes($captureddata['ll_customtext' . $customtextfieldid])) : '' ) . "\" /></td></tr>\n";
|
1103 |
}
|