Document Gallery - Version 4.1.1

Version Description

Download this release

Release Info

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

Code changes from version 4.1 to 4.1.1

Files changed (3) hide show
  1. README.txt +3 -2
  2. document-gallery.php +2 -2
  3. inc/class-setup.php +1 -1
README.txt CHANGED
@@ -306,9 +306,10 @@ The following is an example taken from the Document Gallery source (with a few
306
  modifications for ease of readability), where we add thumbnail generation for
307
  all Audio/Video filetypes supported by WordPress:
308
 
309
- `DG_ImageThumber::init();
 
310
 
311
- class DG_ImageThumber extends DG_AbstractThumber {
312
 
313
  /**
314
  * @return string[] The extensions supported by this thumber.
306
  modifications for ease of readability), where we add thumbnail generation for
307
  all Audio/Video filetypes supported by WordPress:
308
 
309
+ `// tells DG_AbstractThumber to create an instance of the class and apply to dg_thumbers filter
310
+ ImageThumber::init();
311
 
312
+ class ImageThumber extends DG_AbstractThumber {
313
 
314
  /**
315
  * @return string[] The extensions supported by this thumber.
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: 4.1
9
  Author: Dan Rossiter
10
  Author URI: http://danrossiter.org/
11
  License: GPLv3
12
  Text Domain: document-gallery
13
  */
14
 
15
- define( 'DG_VERSION', '4.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: 4.1.1
9
  Author: Dan Rossiter
10
  Author URI: http://danrossiter.org/
11
  License: GPLv3
12
  Text Domain: document-gallery
13
  */
14
 
15
+ define( 'DG_VERSION', '4.1.1' );
16
 
17
  // define helper paths & URLs
18
  define( 'DG_BASENAME', plugin_basename( __FILE__ ) );
inc/class-setup.php CHANGED
@@ -20,7 +20,7 @@ class DG_Setup {
20
 
21
  $gs = $donate_link = null;
22
  if ( ! $skeleton ) {
23
- $gs = DG_Thumber::getGhostscriptExecutable();
24
  $donate_link = self::getDonateLink();
25
  }
26
 
20
 
21
  $gs = $donate_link = null;
22
  if ( ! $skeleton ) {
23
+ $gs = DG_GhostscriptThumber::getGhostscriptExecutable();
24
  $donate_link = self::getDonateLink();
25
  }
26