Document Gallery - Version 3.0.2

Version Description

  • Bug Fix: The update process was broken in 3.0 -- this resolves that issue.
Download this release

Release Info

Developer dan.rossiter
Plugin Icon 128x128 Document Gallery
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

Files changed (3) hide show
  1. README.txt +4 -1
  2. document-gallery.php +2 -2
  3. inc/class-setup.php +1 -1
README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: attachments, thumbnail, documents, gallery, MS office, pdf
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 3.6
6
  Tested up to: 4.1.1
7
- Stable tag: 3.0.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -431,6 +431,9 @@ To see a list of features planned for the future as well as to propose your own
431
  ideas for future Document Gallery development, take a look at our
432
  [issue tracker](https://github.com/thenadz/document-gallery/issues).
433
 
 
 
 
434
  = 3.0 =
435
  * **Notice:** Google Drive support has been removed as recent changes to how the service functions
436
  have made it no longer useful in thumbnail generation. A replacement for supporting MS Office
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 3.6
6
  Tested up to: 4.1.1
7
+ Stable tag: 3.0.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
431
  ideas for future Document Gallery development, take a look at our
432
  [issue tracker](https://github.com/thenadz/document-gallery/issues).
433
 
434
+ = 3.0.2 =
435
+ * **Bug Fix:** The update process was broken in 3.0 -- this resolves that issue.
436
+
437
  = 3.0 =
438
  * **Notice:** Google Drive support has been removed as recent changes to how the service functions
439
  have made it no longer useful in thumbnail generation. A replacement for supporting MS Office
document-gallery.php CHANGED
@@ -5,14 +5,14 @@ defined('WPINC') OR exit;
5
  Plugin Name: Document Gallery
6
  Plugin URI: http://wordpress.org/extend/plugins/document-gallery/
7
  Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode.
8
- Version: 3.0.1
9
  Author: Dan Rossiter
10
  Author URI: http://danrossiter.org/
11
  License: GPLv2
12
  Text Domain: document-gallery
13
  */
14
 
15
- define('DG_VERSION', '3.0.1');
16
 
17
  // define helper paths & URLs
18
  define('DG_BASENAME', plugin_basename(__FILE__));
5
  Plugin Name: Document Gallery
6
  Plugin URI: http://wordpress.org/extend/plugins/document-gallery/
7
  Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode.
8
+ Version: 3.0.2
9
  Author: Dan Rossiter
10
  Author URI: http://danrossiter.org/
11
  License: GPLv2
12
  Text Domain: document-gallery
13
  */
14
 
15
+ define('DG_VERSION', '3.0.2');
16
 
17
  // define helper paths & URLs
18
  define('DG_BASENAME', plugin_basename(__FILE__));
inc/class-setup.php CHANGED
@@ -217,7 +217,7 @@ class DG_Setup {
217
  // if user inadvertantly enabled google drive viewer on system where it's not supported
218
  // then avoid locking it in the on state
219
  if ($options['thumber']['active']['google']) {
220
- $options['thumber']['active']['google'] = DG_Thumber::isGoogleDriveAvailable();
221
  }
222
 
223
  $options['gallery']['post_status'] = 'any';
217
  // if user inadvertantly enabled google drive viewer on system where it's not supported
218
  // then avoid locking it in the on state
219
  if ($options['thumber']['active']['google']) {
220
+ $options['thumber']['active']['google'] = false /* DG_Thumber::isGoogleDriveAvailable() */;
221
  }
222
 
223
  $options['gallery']['post_status'] = 'any';