Link Library - Version 7.2.5

Version Description

  • Fixes around Hide donation option and display of new feature box
Download this release

Release Info

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

Code changes from version 7.2.4 to 7.2.5

Files changed (3) hide show
  1. link-library-admin.php +5 -4
  2. link-library.php +1 -1
  3. readme.txt +5 -2
link-library-admin.php CHANGED
@@ -682,7 +682,7 @@ class link_library_plugin_admin {
682
  if ( isset( $_GET['dismissll70update'] ) ) {
683
  $genoptions['dismissll70update'] = true;
684
  update_option( 'LinkLibraryGeneral', $genoptions );
685
- } elseif ( !isset( $dismissll70update ) ) {
686
  add_action( 'admin_notices', array( $this, 'll70update' ) );
687
  }
688
  }
@@ -1536,8 +1536,8 @@ wp_editor( $post->post_content, 'content', $editor_config );
1536
  'll-importexport' => __( 'Import/Export Links', 'link-library' ),
1537
  );
1538
 
1539
- if ( isset( $genoptions['ll-hidedonation'] ) && $genoptions['ll-hidedonation'] ) {
1540
- unset ( $tabitems['hidedonation'] );
1541
  }
1542
  } elseif ( $menu_name == 'settingsset' ) {
1543
  $tabitems = array ( 'll-usage' => __( 'Usage', 'link-library' ),
@@ -3964,7 +3964,8 @@ function general_custom_fields_meta_box( $data ) {
3964
  <?php
3965
  }
3966
 
3967
- function general_hide_donation_meta_box() {
 
3968
  ?>
3969
  <div style='padding-top:15px' id="ll-hidedonation" class="content-section">
3970
  <p><?php _e( 'The following option allows you to hide the Donate button and Support the Author section in the Link Library Admin pages. If you enjoy this plugin and use it regularly, please consider making a donation to the author before turning off these messages. This menu section will disappear along with the other elements.', 'link-library' ); ?></p>
682
  if ( isset( $_GET['dismissll70update'] ) ) {
683
  $genoptions['dismissll70update'] = true;
684
  update_option( 'LinkLibraryGeneral', $genoptions );
685
+ } elseif ( !isset( $genoptions['dismissll70update'] ) && ( !isset( $genoptions['hidedonation'] ) || ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) ) ) {
686
  add_action( 'admin_notices', array( $this, 'll70update' ) );
687
  }
688
  }
1536
  'll-importexport' => __( 'Import/Export Links', 'link-library' ),
1537
  );
1538
 
1539
+ if ( isset( $genoptions['hidedonation'] ) && $genoptions['hidedonation'] ) {
1540
+ unset ( $tabitems['ll-hidedonation'] );
1541
  }
1542
  } elseif ( $menu_name == 'settingsset' ) {
1543
  $tabitems = array ( 'll-usage' => __( 'Usage', 'link-library' ),
3964
  <?php
3965
  }
3966
 
3967
+ function general_hide_donation_meta_box( $data ) {
3968
+ $genoptions = $data['genoptions'];
3969
  ?>
3970
  <div style='padding-top:15px' id="ll-hidedonation" class="content-section">
3971
  <p><?php _e( 'The following option allows you to hide the Donate button and Support the Author section in the Link Library Admin pages. If you enjoy this plugin and use it regularly, please consider making a donation to the author before turning off these messages. This menu section will disappear along with the other elements.', 'link-library' ); ?></p>
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.4
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.5
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.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
 
@@ -18,7 +18,7 @@ This plugin uses the filter method to add contents to the pages. It also contain
18
 
19
  For screenshots showing how to achieve these results, check out my [site](https://github.com/ylefebvre/link-library/wiki)
20
 
21
- All pages are generated using different configurations all managed by Link Library. Link Library is compatible with the [My Link Order](http://wordpress.org/extend/plugins/my-link-order/) plugin to define category and link ordering.
22
 
23
  * [Changelog](http://wordpress.org/extend/plugins/link-library/other_notes/)
24
  * [Support Forum](https://wordpress.org/support/plugin/link-library/)
@@ -48,6 +48,9 @@ Further configuration is available under the Link Library Settings panel.
48
 
49
  == Changelog ==
50
 
 
 
 
51
  = 7.2.4 =
52
  * Added new option in search section to look for results in all categories even if library is configured to display from a subset of categories
53
  * Fix block_categories editor warnings for deprecated filters
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.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
 
18
 
19
  For screenshots showing how to achieve these results, check out my [site](https://github.com/ylefebvre/link-library/wiki)
20
 
21
+ All pages are generated using different configurations all managed by Link Library. Link Library is compatible with the [Simple Custom Post Order](https://en-ca.wordpress.org/plugins/simple-custom-post-order/) plugin to define category and link ordering.
22
 
23
  * [Changelog](http://wordpress.org/extend/plugins/link-library/other_notes/)
24
  * [Support Forum](https://wordpress.org/support/plugin/link-library/)
48
 
49
  == Changelog ==
50
 
51
+ = 7.2.5 =
52
+ * Fixes around Hide donation option and display of new feature box
53
+
54
  = 7.2.4 =
55
  * Added new option in search section to look for results in all categories even if library is configured to display from a subset of categories
56
  * Fix block_categories editor warnings for deprecated filters