Version Description
Download this release
Release Info
Developer | webbistro |
Plugin | Enhanced Media Library |
Version | 2.8.8 |
Comparing to | |
See all releases |
Code changes from version 2.8.7 to 2.8.8
- core/compatibility.php +25 -0
- core/options-pages.php +3 -3
- enhanced-media-library.php +2 -2
- js/eml-media-grid.js +7 -3
- readme.txt +13 -2
core/compatibility.php
CHANGED
@@ -32,6 +32,31 @@ if ( ! function_exists( 'wpuxss_eml_elementor_scripts' ) ) {
|
|
32 |
|
33 |
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
if ( wpuxss_eml_enhance_media_shortcodes() ) {
|
37 |
|
32 |
|
33 |
|
34 |
|
35 |
+
/**
|
36 |
+
* Impreza Theme
|
37 |
+
*
|
38 |
+
* @since 2.8.8
|
39 |
+
* @created 08/2021
|
40 |
+
*/
|
41 |
+
|
42 |
+
add_action( 'after_setup_theme', 'wpuxss_after_setup_theme', 9 );
|
43 |
+
|
44 |
+
if ( ! function_exists( 'wpuxss_after_setup_theme' ) ) {
|
45 |
+
|
46 |
+
function wpuxss_after_setup_theme() {
|
47 |
+
|
48 |
+
remove_filter( 'attachment_fields_to_edit', 'us_attachment_fields_to_edit_categories' );
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Media Shorcodes
|
56 |
+
*
|
57 |
+
* @since 2.8
|
58 |
+
* @created 10/2020
|
59 |
+
*/
|
60 |
|
61 |
if ( wpuxss_eml_enhance_media_shortcodes() ) {
|
62 |
|
core/options-pages.php
CHANGED
@@ -77,7 +77,7 @@ if ( ! function_exists( 'wpuxss_eml_register_setting' ) ) {
|
|
77 |
* @created 28/04/18
|
78 |
*/
|
79 |
|
80 |
-
add_action( 'admin_menu', 'wpuxss_eml_admin_media_menu' );
|
81 |
|
82 |
if ( ! function_exists( 'wpuxss_eml_admin_media_menu' ) ) {
|
83 |
|
@@ -191,8 +191,8 @@ if ( ! function_exists( 'wpuxss_eml_network_admin_menu' ) ) {
|
|
191 |
|
192 |
$eml_network_options_page = add_submenu_page(
|
193 |
'settings.php',
|
194 |
-
__('Enhanced Media Library','enhanced-media-library'),
|
195 |
-
__('
|
196 |
'manage_options',
|
197 |
'eml-settings',
|
198 |
'wpuxss_eml_print_network_settings'
|
77 |
* @created 28/04/18
|
78 |
*/
|
79 |
|
80 |
+
add_action( 'admin_menu', 'wpuxss_eml_admin_media_menu', 12 );
|
81 |
|
82 |
if ( ! function_exists( 'wpuxss_eml_admin_media_menu' ) ) {
|
83 |
|
191 |
|
192 |
$eml_network_options_page = add_submenu_page(
|
193 |
'settings.php',
|
194 |
+
__('Enhanced Media Library Utilities','enhanced-media-library'),
|
195 |
+
__('EML Utilities','enhanced-media-library'),
|
196 |
'manage_options',
|
197 |
'eml-settings',
|
198 |
'wpuxss_eml_print_network_settings'
|
enhanced-media-library.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Enhanced Media Library
|
4 |
Plugin URI: https://wpUXsolutions.com/plugins/enhanced-media-library
|
5 |
Description: This plugin will be handy for those who need to manage a lot of media files.
|
6 |
-
Version: 2.8.
|
7 |
Author: wpUXsolutions
|
8 |
Author URI: http://wpUXsolutions.com
|
9 |
Text Domain: enhanced-media-library
|
@@ -26,7 +26,7 @@ global $wp_version,
|
|
26 |
|
27 |
|
28 |
|
29 |
-
if ( ! defined('EML_VERSION') ) define( 'EML_VERSION', '2.8.
|
30 |
if ( ! defined('EML_PRO') ) define( 'EML_PRO', false );
|
31 |
|
32 |
|
3 |
Plugin Name: Enhanced Media Library
|
4 |
Plugin URI: https://wpUXsolutions.com/plugins/enhanced-media-library
|
5 |
Description: This plugin will be handy for those who need to manage a lot of media files.
|
6 |
+
Version: 2.8.8
|
7 |
Author: wpUXsolutions
|
8 |
Author URI: http://wpUXsolutions.com
|
9 |
Text Domain: enhanced-media-library
|
26 |
|
27 |
|
28 |
|
29 |
+
if ( ! defined('EML_VERSION') ) define( 'EML_VERSION', '2.8.8' );
|
30 |
if ( ! defined('EML_PRO') ) define( 'EML_PRO', false );
|
31 |
|
32 |
|
js/eml-media-grid.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
window.wp = window.wp || {};
|
|
|
2 |
window.eml = window.eml || { l10n: {} };
|
3 |
|
4 |
|
@@ -86,7 +87,9 @@ window.eml = window.eml || { l10n: {} };
|
|
86 |
|
87 |
toggleCollapse: function( event ) {
|
88 |
|
89 |
-
var collapsed = this.controller._attachmentDetailsCollapsed
|
|
|
|
|
90 |
|
91 |
if ( typeof event !== 'undefined' && 'eml-toggle-collapse' === event.currentTarget.className ) {
|
92 |
|
@@ -104,7 +107,8 @@ window.eml = window.eml || { l10n: {} };
|
|
104 |
return ! collapsed ? eml.l10n.less_details+' \u2191' : eml.l10n.more_details+' \u2193';
|
105 |
});
|
106 |
|
107 |
-
this.controller._attachmentDetailsCollapsed = collapsed;
|
|
|
108 |
}
|
109 |
});
|
110 |
|
@@ -342,7 +346,7 @@ window.eml = window.eml || { l10n: {} };
|
|
342 |
*/
|
343 |
media.view.MediaFrame.emlGrid = media.view.MediaFrame.Select.extend({
|
344 |
|
345 |
-
_attachmentDetailsCollapsed: true,
|
346 |
|
347 |
initialize: function() {
|
348 |
|
1 |
window.wp = window.wp || {};
|
2 |
+
window.wpCookies = window.wpCookies || {};
|
3 |
window.eml = window.eml || { l10n: {} };
|
4 |
|
5 |
|
87 |
|
88 |
toggleCollapse: function( event ) {
|
89 |
|
90 |
+
var collapsed = ( this.controller._attachmentDetailsCollapsed === 'true' ),
|
91 |
+
secure = ( 'https:' === window.location.protocol );
|
92 |
+
|
93 |
|
94 |
if ( typeof event !== 'undefined' && 'eml-toggle-collapse' === event.currentTarget.className ) {
|
95 |
|
107 |
return ! collapsed ? eml.l10n.less_details+' \u2191' : eml.l10n.more_details+' \u2193';
|
108 |
});
|
109 |
|
110 |
+
this.controller._attachmentDetailsCollapsed = collapsed ? 'true' : 'false';
|
111 |
+
wpCookies.set( 'eml-details-collapsed', collapsed, 30 * 24 * 60 * 60, false, false, secure );
|
112 |
}
|
113 |
});
|
114 |
|
346 |
*/
|
347 |
media.view.MediaFrame.emlGrid = media.view.MediaFrame.Select.extend({
|
348 |
|
349 |
+
_attachmentDetailsCollapsed: wpCookies.get( 'eml-details-collapsed' ) || 'true',
|
350 |
|
351 |
initialize: function() {
|
352 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: media library, media category, media categories, media gallery, gallery sh
|
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
-
Stable tag: 2.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,7 +12,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
12 |
|
13 |
## Description ##
|
14 |
|
15 |
-
The plugin will be handy for those who need to manage a lot of media files
|
|
|
|
|
16 |
|
17 |
|
18 |
### Categorize by Anything! ###
|
@@ -185,6 +187,15 @@ Please notice that you use Enhanced Media Library with other plugins that add me
|
|
185 |
|
186 |
## Changelog ##
|
187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
### 2.8.7 ###
|
189 |
*Release Date - August 8, 2021*
|
190 |
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.8
|
6 |
Requires PHP: 5.6
|
7 |
+
Stable tag: 2.8.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
## Description ##
|
14 |
|
15 |
+
**The plugin will be handy for those who need to manage a lot of media files.**
|
16 |
+
|
17 |
+
[SUPPORT](https://wpuxsolutions.com/support) | [DOCUMENTATION](https://wpuxsolutions.com/documents/enhanced-media-library) | [FAQs](https://wpuxsolutions.com/documents/enhanced-media-library/faqs) | [PREMIUM FEATURES](https://wpuxsolutions.com/plugins/enhanced-media-library-pro)
|
18 |
|
19 |
|
20 |
### Categorize by Anything! ###
|
187 |
|
188 |
## Changelog ##
|
189 |
|
190 |
+
### 2.8.8 ###
|
191 |
+
*Release Date - August 26, 2021*
|
192 |
+
|
193 |
+
= Improvements =
|
194 |
+
* Media Library Grid Mode: "More Details" / "Less Details" button improved to remember the latest choice after page reload
|
195 |
+
* Better third-party admin menu compatibility
|
196 |
+
* Compatibility for Impreza theme categories added
|
197 |
+
|
198 |
+
|
199 |
### 2.8.7 ###
|
200 |
*Release Date - August 8, 2021*
|
201 |
|