Enhanced Media Library - Version 2.1.6.1

Version Description

Release Date - January 22, 2016

Download this release

Release Info

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

Code changes from version 2.1.6 to 2.1.6.1

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.1.6
7
  Author: wpUXsolutions
8
  Author URI: http://wpUXsolutions.com
9
  Text Domain: eml
@@ -22,7 +22,7 @@ global $wp_version,
22
 
23
 
24
 
25
- $wpuxss_eml_version = '2.1.6';
26
 
27
 
28
 
@@ -441,7 +441,7 @@ if ( ! function_exists( 'wpuxss_eml_enqueue_media' ) ) {
441
  'in' => __( 'All ', 'eml' ),
442
  'not_in' => __( 'Not in ', 'eml' ),
443
  'reset_filters' => __( 'Reset All Filters', 'eml' ),
444
- 'current_screen' => $current_screen->id
445
  );
446
 
447
  wp_localize_script(
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.1.6.1
7
  Author: wpUXsolutions
8
  Author URI: http://wpUXsolutions.com
9
  Text Domain: eml
22
 
23
 
24
 
25
+ $wpuxss_eml_version = '2.1.6.1';
26
 
27
 
28
 
441
  'in' => __( 'All ', 'eml' ),
442
  'not_in' => __( 'Not in ', 'eml' ),
443
  'reset_filters' => __( 'Reset All Filters', 'eml' ),
444
+ 'current_screen' => isset( $current_screen ) ? $current_screen->id : ''
445
  );
446
 
447
  wp_localize_script(
js/eml-media-views.js CHANGED
@@ -23,17 +23,17 @@ window.eml = window.eml || { l10n: {} };
23
  uploading: function( attachment ) {
24
 
25
  var content = this.frame.content,
26
- resetFilterButton = content.get().toolbar.get( 'resetFilterButton' ),
27
  selection = this.get('selection');
28
 
29
- if ( wp.Uploader.queue.length == 1 ) {
30
- resetFilterButton.click();
31
- }
32
 
33
  if ( 'upload' === content.mode() ) {
34
  this.frame.content.mode('browse');
35
  }
36
 
 
 
 
 
37
  if ( this.get( 'autoSelect' ) ) {
38
 
39
  if ( wp.Uploader.queue.length == 1 && selection.length ) {
23
  uploading: function( attachment ) {
24
 
25
  var content = this.frame.content,
 
26
  selection = this.get('selection');
27
 
 
 
 
28
 
29
  if ( 'upload' === content.mode() ) {
30
  this.frame.content.mode('browse');
31
  }
32
 
33
+ if ( wp.Uploader.queue.length == 1 ) {
34
+ $('.attachment-filters:has(option[value!="all"]:selected)').val( 'all' ).change();
35
+ }
36
+
37
  if ( this.get( 'autoSelect' ) ) {
38
 
39
  if ( wp.Uploader.queue.length == 1 && selection.length ) {
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.4
5
  Tested up to: 4.4.1
6
- Stable tag: 2.1.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -194,6 +194,15 @@ No, all your data will remain intact. Your created media categories and their ti
194
 
195
  == Changelog ==
196
 
 
 
 
 
 
 
 
 
 
197
  = 2.1.6 =
198
  *Release Date - January 19, 2016*
199
 
@@ -265,14 +274,6 @@ Filters returned to Customizer
265
  * Fixed v2.1 and Jetpack Carousel incompatibility
266
 
267
 
268
-  
269
- = 2.1.1 =
270
- *Release Date - December 15, 2015*
271
-
272
- = Bugfixes =
273
- * Minor incompatibility with WordPress 4.3 fixed
274
-
275
-
276
   
277
  = 2.1 =
278
  *Release Date - December 15, 2015*
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.4
5
  Tested up to: 4.4.1
6
+ Stable tag: 2.1.6.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
194
 
195
  == Changelog ==
196
 
197
+ = 2.1.6.1 =
198
+ *Release Date - January 22, 2016*
199
+
200
+ = Bugfixes =
201
+ * The bug of post/page media uploader fixed
202
+ * Few minor bugs fixed
203
+
204
+
205
+  
206
  = 2.1.6 =
207
  *Release Date - January 19, 2016*
208
 
274
  * Fixed v2.1 and Jetpack Carousel incompatibility
275
 
276
 
 
 
 
 
 
 
 
 
277
   
278
  = 2.1 =
279
  *Release Date - December 15, 2015*