Media Library Categories - Version 1.9.9

Version Description

  • Fix 'jQuery.fn.load() is deprecated' warning
Download this release

Release Info

Developer jeffrey-wp
Plugin Icon 128x128 Media Library Categories
Version 1.9.9
Comparing to
See all releases

Code changes from version 1.9.8 to 1.9.9

Files changed (2) hide show
  1. index.php +3 -3
  2. readme.txt +6 -3
index.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Media Library Categories
4
  * Plugin URI: https://wordpress.org/plugins/wp-media-library-categories/
5
  * Description: Adds the ability to use categories in the media library.
6
- * Version: 1.9.8
7
  * Author: Jeffrey-WP
8
  * Text Domain: wp-media-library-categories
9
  * Domain Path: /languages
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  */
22
  class wpMediaLibraryCategories {
23
 
24
- public $plugin_version = '1.9.8';
25
 
26
  /**
27
  * Initialize the hooks and filters
@@ -364,7 +364,7 @@ class wpMediaLibraryCategories {
364
  if ( $terms && ! is_wp_error( $terms ) ) :
365
 
366
  echo '<script type="text/javascript">';
367
- echo 'jQuery(window).load(function() {';
368
  echo 'jQuery(\'<optgroup id="wpmediacategory_optgroup1" label="' . html_entity_decode( __( 'Categories', 'wp-media-library-categories' ), ENT_QUOTES, 'UTF-8' ) . '">\').appendTo("select[name=\'action\']");';
369
  echo 'jQuery(\'<optgroup id="wpmediacategory_optgroup2" label="' . html_entity_decode( __( 'Categories', 'wp-media-library-categories' ), ENT_QUOTES, 'UTF-8' ) . '">\').appendTo("select[name=\'action2\']");';
370
 
3
  * Plugin Name: Media Library Categories
4
  * Plugin URI: https://wordpress.org/plugins/wp-media-library-categories/
5
  * Description: Adds the ability to use categories in the media library.
6
+ * Version: 1.9.9
7
  * Author: Jeffrey-WP
8
  * Text Domain: wp-media-library-categories
9
  * Domain Path: /languages
21
  */
22
  class wpMediaLibraryCategories {
23
 
24
+ public $plugin_version = '1.9.9';
25
 
26
  /**
27
  * Initialize the hooks and filters
364
  if ( $terms && ! is_wp_error( $terms ) ) :
365
 
366
  echo '<script type="text/javascript">';
367
+ echo 'jQuery(window).on(\'load\',function(){';
368
  echo 'jQuery(\'<optgroup id="wpmediacategory_optgroup1" label="' . html_entity_decode( __( 'Categories', 'wp-media-library-categories' ), ENT_QUOTES, 'UTF-8' ) . '">\').appendTo("select[name=\'action\']");';
369
  echo 'jQuery(\'<optgroup id="wpmediacategory_optgroup2" label="' . html_entity_decode( __( 'Categories', 'wp-media-library-categories' ), ENT_QUOTES, 'UTF-8' ) . '">\').appendTo("select[name=\'action2\']");';
370
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jeffrey-wp
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SSNQMST6R28Q2
4
  Tags: category, categories, media, library, medialibrary, image, images, media category, media categories
5
  Requires at least: 4.0
6
- Tested up to: 5.4
7
- Stable tag: 1.9.8
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -23,7 +23,7 @@ There is even an option to filter on categories when using the gallery shortcode
23
  * filter on categories in the media library
24
  * filter on categories in the gallery shortcode
25
  * taxonomy filter
26
- * support for WordPress 3.15.4
27
 
28
  > <strong>Try Premium version - 100% money back guarantee</strong>
29
  > WordPress Media Library Categories Premium adds the option to filter on categories when inserting media into a post or page.
@@ -97,6 +97,9 @@ Maintaining a plugin and keeping it up to date is hard work. Please support me b
97
 
98
  == Changelog ==
99
 
 
 
 
100
  = 1.9.8 =
101
  * Remember selected category in dropdown when filtered
102
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SSNQMST6R28Q2
4
  Tags: category, categories, media, library, medialibrary, image, images, media category, media categories
5
  Requires at least: 4.0
6
+ Tested up to: 6.1
7
+ Stable tag: 1.9.9
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
23
  * filter on categories in the media library
24
  * filter on categories in the gallery shortcode
25
  * taxonomy filter
26
+ * support for WordPress 4.06.1
27
 
28
  > <strong>Try Premium version - 100% money back guarantee</strong>
29
  > WordPress Media Library Categories Premium adds the option to filter on categories when inserting media into a post or page.
97
 
98
  == Changelog ==
99
 
100
+ = 1.9.9 =
101
+ * Fix 'jQuery.fn.load() is deprecated' warning
102
+
103
  = 1.9.8 =
104
  * Remember selected category in dropdown when filtered
105