Enhanced Media Library - Version 2.4.1

Version Description

Release Date - January 16, 2017

Download this release

Release Info

Developer webbistro
Plugin Icon 128x128 Enhanced Media Library
Version 2.4.1
Comparing to
See all releases

Code changes from version 2.4 to 2.4.1

Files changed (3) hide show
  1. core/taxonomies.php +8 -3
  2. enhanced-media-library.php +2 -2
  3. readme.txt +9 -1
core/taxonomies.php CHANGED
@@ -883,10 +883,15 @@ if ( ! function_exists( 'wpuxss_eml_save_attachment_compat' ) ) {
883
 
884
  $term_ids = array_map( 'trim', preg_split( '/,+/', $attachment_data[ $taxonomy ] ) );
885
  }
886
- elseif ( isset( $_REQUEST['tax_input'] ) && isset( $_REQUEST['tax_input'][ $taxonomy ] ) ) {
887
 
888
- $term_ids = array_keys( $_REQUEST['tax_input'][ $taxonomy ], 1 );
889
- $term_ids = array_map( 'intval', $term_ids );
 
 
 
 
 
890
  }
891
 
892
  wp_set_object_terms( $id, $term_ids, $taxonomy, false );
883
 
884
  $term_ids = array_map( 'trim', preg_split( '/,+/', $attachment_data[ $taxonomy ] ) );
885
  }
886
+ elseif ( isset( $_REQUEST['tax_input'] ) ) {
887
 
888
+ if ( ! isset( $_REQUEST['tax_input'][ $taxonomy ] ) ) {
889
+ continue;
890
+ }
891
+ else {
892
+ $term_ids = array_keys( $_REQUEST['tax_input'][ $taxonomy ], 1 );
893
+ $term_ids = array_map( 'intval', $term_ids );
894
+ }
895
  }
896
 
897
  wp_set_object_terms( $id, $term_ids, $taxonomy, false );
enhanced-media-library.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Enhanced Media Library
4
  Plugin URI: http://wpUXsolutions.com
5
  Description: This plugin will be handy for those who need to manage a lot of media files.
6
- Version: 2.4
7
  Author: wpUXsolutions
8
  Author URI: http://wpUXsolutions.com
9
  Text Domain: enhanced-media-library
@@ -27,7 +27,7 @@ global $wp_version,
27
 
28
 
29
 
30
- $wpuxss_eml_version = '2.4';
31
 
32
 
33
 
3
  Plugin Name: Enhanced Media Library
4
  Plugin URI: http://wpUXsolutions.com
5
  Description: This plugin will be handy for those who need to manage a lot of media files.
6
+ Version: 2.4.1
7
  Author: wpUXsolutions
8
  Author URI: http://wpUXsolutions.com
9
  Text Domain: enhanced-media-library
27
 
28
 
29
 
30
+ $wpuxss_eml_version = '2.4.1';
31
 
32
 
33
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webbistro
3
  Tags: media library, media category, media categories, media gallery, gallery shortcode, media tag, media tags, media taxonomy, media taxonomies, media uploader, mime type, mime, mime types, file types, media types, media filter, attachment, gallery, image, images, media, ux, user experience, wp-admin, admin, taxonomy, taxonomies
4
  Requires at least: 4.5
5
  Tested up to: 4.7.1
6
- Stable tag: 2.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -166,6 +166,14 @@ Please notice that you use Enhanced Media Library with other plugins which add m
166
 
167
  == Changelog ==
168
 
 
 
 
 
 
 
 
 
169
  = 2.4 =
170
  *Release Date - January 13, 2017*
171
 
3
  Tags: media library, media category, media categories, media gallery, gallery shortcode, media tag, media tags, media taxonomy, media taxonomies, media uploader, mime type, mime, mime types, file types, media types, media filter, attachment, gallery, image, images, media, ux, user experience, wp-admin, admin, taxonomy, taxonomies
4
  Requires at least: 4.5
5
  Tested up to: 4.7.1
6
+ Stable tag: 2.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
166
 
167
  == Changelog ==
168
 
169
+ = 2.4.1 =
170
+ *Release Date - January 16, 2017*
171
+
172
+ = Bugfixes =
173
+ * A bug with saving taxonomy terms from post editor media popup fixed - [Support Ticket](https://wordpress.org/support/topic/category-filter-not-media-category-filter-stopped-working-again/)
174
+
175
+
176
+  
177
  = 2.4 =
178
  *Release Date - January 13, 2017*
179