Media Library Assistant - Version 2.62

Version Description

  • Fix: A PHP Fatal Error when loading MLA Media Manager enhancements for "front-end" use has been corrected.
Download this release

Release Info

Developer dglingren
Plugin Icon 128x128 Media Library Assistant
Version 2.62
Comparing to
See all releases

Code changes from version 2.61 to 2.62

Files changed (3) hide show
  1. includes/class-mla-core.php +10 -3
  2. index.php +1 -1
  3. readme.txt +6 -3
includes/class-mla-core.php CHANGED
@@ -21,7 +21,7 @@ class MLACore {
21
  *
22
  * @var string
23
  */
24
- const CURRENT_MLA_VERSION = '2.61';
25
 
26
  /**
27
  * Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
@@ -441,8 +441,15 @@ class MLACore {
441
  }
442
 
443
  // Media Manager (Modal window) additions
444
- require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data.php' );
445
- MLAData::initialize();
 
 
 
 
 
 
 
446
 
447
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-list-table.php' );
448
 
21
  *
22
  * @var string
23
  */
24
+ const CURRENT_MLA_VERSION = '2.62';
25
 
26
  /**
27
  * Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
441
  }
442
 
443
  // Media Manager (Modal window) additions
444
+ if ( !class_exists( 'MLAQuery' ) ) {
445
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
446
+ MLAQuery::initialize();
447
+ }
448
+
449
+ if ( !class_exists( 'MLAData' ) ) {
450
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data.php' );
451
+ MLAData::initialize();
452
+ }
453
 
454
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-list-table.php' );
455
 
index.php CHANGED
@@ -16,7 +16,7 @@ Description: Enhances the Media Library; powerful [mla_gallery] [mla_tag_cloud]
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
- Version: 2.61
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2017 David Lingren
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
+ Version: 2.62
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2017 David Lingren
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: attachments, gallery, images, media, media library, tag cloud, media-tags,
5
  Requires at least: 3.5.0
6
  Tested up to: 4.8.2
7
  Requires PHP: 5.3
8
- Stable tag: 2.61
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -183,6 +183,9 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
183
 
184
  == Changelog ==
185
 
 
 
 
186
  = 2.61 =
187
  * New: For the Media/Assistant submenu table, the QuickTags editor can be added to the Description field of the Bulk Edit area. Check the "QuickTags editor for bulk description" box in the "Table Defaults" section on the Settings/Media Library Assistant General tab to activate this feature.
188
  * New: A new "MLA Custom Feed Example" plugin has been added. It allows you to configure and process custom RSS feeds for Media Library items.
@@ -307,8 +310,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
307
 
308
  == Upgrade Notice ==
309
 
310
- = 2.61 =
311
- Several new example plugins and hooks, new shortcode parameters. Thirteen enhancements in all, thirteen fixes.
312
 
313
  == Other Notes ==
314
 
5
  Requires at least: 3.5.0
6
  Tested up to: 4.8.2
7
  Requires PHP: 5.3
8
+ Stable tag: 2.62
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
183
 
184
  == Changelog ==
185
 
186
+ = 2.62 =
187
+ * Fix: A PHP Fatal Error when loading MLA Media Manager enhancements for "front-end" use has been corrected.
188
+
189
  = 2.61 =
190
  * New: For the Media/Assistant submenu table, the QuickTags editor can be added to the Description field of the Bulk Edit area. Check the "QuickTags editor for bulk description" box in the "Table Defaults" section on the Settings/Media Library Assistant General tab to activate this feature.
191
  * New: A new "MLA Custom Feed Example" plugin has been added. It allows you to configure and process custom RSS feeds for Media Library items.
310
 
311
  == Upgrade Notice ==
312
 
313
+ = 2.62 =
314
+ Corrects a PHP Fatal Error when loading MLA Media Manager enhancements for "front-end" use.
315
 
316
  == Other Notes ==
317