Version Description
-
Bug Fix:
2.0.6
did not fully resolve the bug described below. This should.
Download this release
Release Info
Developer | dan.rossiter |
Plugin | Document Gallery |
Version | 2.0.7 |
Comparing to | |
See all releases |
Code changes from version 2.0.6 to 2.0.7
- README.txt +4 -1
- document-gallery.php +2 -2
- inc/class-thumber.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¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -298,6 +298,9 @@ Note that the display inherits styling from your active theme.
|
|
298 |
forum](http://wordpress.org/support/plugin/document-gallery) if you have
|
299 |
ideas)!
|
300 |
|
|
|
|
|
|
|
301 |
= 2.0.6 =
|
302 |
* **Bug Fix:** If DG failed to automagically detect the location of the
|
303 |
Ghostscript binary, manually setting the location did not enable using it.
|
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¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9
|
7 |
+
Stable tag: 2.0.7
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
298 |
forum](http://wordpress.org/support/plugin/document-gallery) if you have
|
299 |
ideas)!
|
300 |
|
301 |
+
= 2.0.7 =
|
302 |
+
* **Bug Fix:** `2.0.6` did not fully resolve the bug described below. This should.
|
303 |
+
|
304 |
= 2.0.6 =
|
305 |
* **Bug Fix:** If DG failed to automagically detect the location of the
|
306 |
Ghostscript binary, manually setting the location did not enable using it.
|
document-gallery.php
CHANGED
@@ -5,7 +5,7 @@ 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: 2.0.
|
9 |
Author: Dan Rossiter
|
10 |
Author URI: http://danrossiter.org/
|
11 |
License: GPLv2
|
@@ -13,7 +13,7 @@ defined('WPINC') OR exit;
|
|
13 |
*/
|
14 |
|
15 |
// define helper paths & URLs
|
16 |
-
define('DG_VERSION', '2.0.
|
17 |
define('DG_URL', plugin_dir_url(__FILE__));
|
18 |
define('DG_PATH', plugin_dir_path(__FILE__));
|
19 |
define('DG_WPINC_PATH', ABSPATH . WPINC . '/');
|
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: 2.0.7
|
9 |
Author: Dan Rossiter
|
10 |
Author URI: http://danrossiter.org/
|
11 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
// define helper paths & URLs
|
16 |
+
define('DG_VERSION', '2.0.7');
|
17 |
define('DG_URL', plugin_dir_url(__FILE__));
|
18 |
define('DG_PATH', plugin_dir_path(__FILE__));
|
19 |
define('DG_WPINC_PATH', ABSPATH . WPINC . '/');
|
inc/class-thumber.php
CHANGED
@@ -578,7 +578,7 @@ class DG_Thumber {
|
|
578 |
}
|
579 |
|
580 |
// Ghostscript
|
581 |
-
if ($active['gs'] &&
|
582 |
$exts = implode('|', self::getGhostscriptExts());
|
583 |
$thumbers[$exts] = array(__CLASS__, 'getGhostscriptThumbnail');
|
584 |
}
|
578 |
}
|
579 |
|
580 |
// Ghostscript
|
581 |
+
if ($active['gs'] && self::isGhostscriptAvailable()) {
|
582 |
$exts = implode('|', self::getGhostscriptExts());
|
583 |
$thumbers[$exts] = array(__CLASS__, 'getGhostscriptThumbnail');
|
584 |
}
|