Google Doc Embedder - Version 2.4.6

Version Description

  • Fixed: Error in Mask URL download link for non-PDF file types
Download this release

Release Info

Developer k3davis
Plugin Icon wp plugin Google Doc Embedder
Version 2.4.6
Comparing to
See all releases

Code changes from version 2.4.5 to 2.4.6

Files changed (2) hide show
  1. gviewer.php +3 -3
  2. readme.txt +3 -0
gviewer.php CHANGED
@@ -8,11 +8,11 @@ Author: Kevin Davis
8
  Author URI: http://www.davistribe.org/
9
  Text Domain: gde
10
  Domain Path: /languages/
11
- Version: 2.4.5-dev
12
  License: GPLv2
13
  */
14
 
15
- $gde_ver = "2.4.5.04";
16
 
17
  /**
18
  * LICENSE
@@ -223,7 +223,7 @@ HERE;
223
  }
224
 
225
  } elseif ($dlMethod == "force-mask") {
226
- $dlFile = gde_shortUrl($dlFile);
227
  $nofollow = ' rel="nofollow"';
228
  $target = "_self";
229
  $gaTag = 'onclick="var that=this;_gaq.push([\'_trackEvent,\'Download\',\''.$fnp[1].'\',this.href]);setTimeout(function(){location.href=that.href;},200);return false;"';
8
  Author URI: http://www.davistribe.org/
9
  Text Domain: gde
10
  Domain Path: /languages/
11
+ Version: 2.4.6
12
  License: GPLv2
13
  */
14
 
15
+ $gde_ver = "2.4.6.98";
16
 
17
  /**
18
  * LICENSE
223
  }
224
 
225
  } elseif ($dlMethod == "force-mask") {
226
+ $dlFile = gde_shortUrl($file);
227
  $nofollow = ' rel="nofollow"';
228
  $target = "_self";
229
  $gaTag = 'onclick="var that=this;_gaq.push([\'_trackEvent,\'Download\',\''.$fnp[1].'\',this.href]);setTimeout(function(){location.href=that.href;},200);return false;"';
readme.txt CHANGED
@@ -123,6 +123,9 @@ You can open a topic [on the forum](http://wordpress.org/support/plugin/google-d
123
 
124
  (E) Enhanced Viewer
125
 
 
 
 
126
  = 2.4.5 =
127
  * Fixed: Regression breaks some files containing spaces (thanks mlautens)
128
  * Fixed: Mask URL 400 error on filenames with spaces (thanks mrhaanraadts)
123
 
124
  (E) Enhanced Viewer
125
 
126
+ = 2.4.6 =
127
+ * Fixed: Error in Mask URL download link for non-PDF file types
128
+
129
  = 2.4.5 =
130
  * Fixed: Regression breaks some files containing spaces (thanks mlautens)
131
  * Fixed: Mask URL 400 error on filenames with spaces (thanks mrhaanraadts)