Version Description
- Removed: Masked URL ability, pending rewrite after Google breakage
Download this release
Release Info
Developer | k3davis |
Plugin | Google Doc Embedder |
Version | 2.5.16 |
Comparing to | |
See all releases |
Code changes from version 2.5.15 to 2.5.16
- functions.php +4 -0
- gviewer.php +2 -2
- libs/lib-profile.php +1 -1
- readme.txt +5 -2
functions.php
CHANGED
@@ -283,6 +283,8 @@ function gde_sanitize_dims( $dim ) {
|
|
283 |
* @return string Short url response from API call, or false on error
|
284 |
*/
|
285 |
function gde_get_short_url( $u ) {
|
|
|
|
|
286 |
$u = urlencode( $u );
|
287 |
$service[] = "http://tinyurl.com/api-create.php?url=" . $u;
|
288 |
$service[] = "http://is.gd/create.php?format=simple&url=" . $u;
|
@@ -319,6 +321,8 @@ function gde_get_short_url( $u ) {
|
|
319 |
* @return string Secure URL, or false on error
|
320 |
*/
|
321 |
function gde_get_secure_url( $u ) {
|
|
|
|
|
322 |
require_once( GDE_PLUGIN_DIR . 'libs/lib-secure.php' );
|
323 |
|
324 |
if ( ! $url = gde_make_secure_url( $u ) ) {
|
283 |
* @return string Short url response from API call, or false on error
|
284 |
*/
|
285 |
function gde_get_short_url( $u ) {
|
286 |
+
return $u; //bypass this function - breaks in current viewer
|
287 |
+
|
288 |
$u = urlencode( $u );
|
289 |
$service[] = "http://tinyurl.com/api-create.php?url=" . $u;
|
290 |
$service[] = "http://is.gd/create.php?format=simple&url=" . $u;
|
321 |
* @return string Secure URL, or false on error
|
322 |
*/
|
323 |
function gde_get_secure_url( $u ) {
|
324 |
+
return $u; //bypass this function - breaks in current viewer
|
325 |
+
|
326 |
require_once( GDE_PLUGIN_DIR . 'libs/lib-secure.php' );
|
327 |
|
328 |
if ( ! $url = gde_make_secure_url( $u ) ) {
|
gviewer.php
CHANGED
@@ -8,7 +8,7 @@ Author: Kevin Davis
|
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
-
Version: 2.5.
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
@@ -38,7 +38,7 @@ License: GPLv2
|
|
38 |
*/
|
39 |
|
40 |
// boring init junk
|
41 |
-
$gde_ver = "2.
|
42 |
$gde_db_ver = "1.2"; // update also in gde_activate()
|
43 |
|
44 |
require_once( plugin_dir_path( __FILE__ ) . 'functions.php' );
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
+
Version: 2.5.16
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
38 |
*/
|
39 |
|
40 |
// boring init junk
|
41 |
+
$gde_ver = "2.5.16.98";
|
42 |
$gde_db_ver = "1.2"; // update also in gde_activate()
|
43 |
|
44 |
require_once( plugin_dir_path( __FILE__ ) . 'functions.php' );
|
libs/lib-profile.php
CHANGED
@@ -241,7 +241,7 @@ function gde_profile_form( $id = 1 ) {
|
|
241 |
<td>
|
242 |
<?php
|
243 |
gde_profile_checkbox( $p['link_force'], 'force', __('Force download (bypass browser plugins)', 'gde'), 'linkforce', 1 );
|
244 |
-
gde_profile_checkbox( $p['link_mask'], 'mask', __('Shorten URL', 'gde'), 'linkmask', 1 );
|
245 |
?>
|
246 |
</td>
|
247 |
</tr>
|
241 |
<td>
|
242 |
<?php
|
243 |
gde_profile_checkbox( $p['link_force'], 'force', __('Force download (bypass browser plugins)', 'gde'), 'linkforce', 1 );
|
244 |
+
//gde_profile_checkbox( $p['link_mask'], 'mask', __('Shorten URL', 'gde'), 'linkmask', 1 );
|
245 |
?>
|
246 |
</td>
|
247 |
</tr>
|
readme.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
=== Google Doc Embedder ===
|
2 |
-
Contributors: k3davis
|
3 |
Tags: doc, docx, pdf, ppt, pptx, xls, psd, zip, rar, tiff, ttf, office, powerpoint, google
|
4 |
Author URI: http://www.davistribe.org/code/
|
5 |
Donate link: http://www.davistribe.org/gde/donate/
|
@@ -141,8 +141,11 @@ More common questions are answered on the GDE web site [here](http://www.davistr
|
|
141 |
|
142 |
(E) Enhanced Viewer
|
143 |
|
|
|
|
|
|
|
144 |
= 2.5.15 =
|
145 |
-
* Removed: Enhanced Viewer and
|
146 |
* Added: Italian translation (thanks Marco)
|
147 |
* Fixed: Potential block download and hidden toolbar conflict (thanks Tom)
|
148 |
* Fixed: Garbled Cyrillic text in editor dialog (thanks bones852)
|
1 |
=== Google Doc Embedder ===
|
2 |
+
Contributors: k3davis, danlester
|
3 |
Tags: doc, docx, pdf, ppt, pptx, xls, psd, zip, rar, tiff, ttf, office, powerpoint, google
|
4 |
Author URI: http://www.davistribe.org/code/
|
5 |
Donate link: http://www.davistribe.org/gde/donate/
|
141 |
|
142 |
(E) Enhanced Viewer
|
143 |
|
144 |
+
= 2.5.16 =
|
145 |
+
* Removed: Masked URL ability, pending rewrite after Google breakage
|
146 |
+
|
147 |
= 2.5.15 =
|
148 |
+
* Removed: Enhanced Viewer and mobile option, pending rewrite after Google breakage
|
149 |
* Added: Italian translation (thanks Marco)
|
150 |
* Fixed: Potential block download and hidden toolbar conflict (thanks Tom)
|
151 |
* Fixed: Garbled Cyrillic text in editor dialog (thanks bones852)
|