Version Description
- Fixed: PHP Warning related to MIME type expansion (thanks Adebayo)
Download this release
Release Info
Developer | k3davis |
Plugin | Google Doc Embedder |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1 to 2.4.2
- gde-functions.php +1 -1
- gviewer.php +2 -2
- readme.txt +5 -2
gde-functions.php
CHANGED
@@ -260,7 +260,7 @@ function gde_upload_mimes ( $existing_mimes=array() ) {
|
|
260 |
function gde_mimes_expanded(array $types) {
|
261 |
// expand the supported mime types so that every ext is its own key
|
262 |
foreach ($types as $k => $v) {
|
263 |
-
if (
|
264 |
$subtypes = explode("|", $k);
|
265 |
foreach ($subtypes as $type) {
|
266 |
$newtypes[$type] = $v;
|
260 |
function gde_mimes_expanded(array $types) {
|
261 |
// expand the supported mime types so that every ext is its own key
|
262 |
foreach ($types as $k => $v) {
|
263 |
+
if (strpos("|", $k)) {
|
264 |
$subtypes = explode("|", $k);
|
265 |
foreach ($subtypes as $type) {
|
266 |
$newtypes[$type] = $v;
|
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.
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
-
$gde_ver = "2.4.
|
16 |
|
17 |
/**
|
18 |
* LICENSE
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
+
Version: 2.4.2
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
+
$gde_ver = "2.4.2.98";
|
16 |
|
17 |
/**
|
18 |
* LICENSE
|
readme.txt
CHANGED
@@ -120,6 +120,9 @@ You can open a topic [on the forum](http://wordpress.org/tags/google-document-em
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
123 |
= 2.4.1 =
|
124 |
* Added: Spanish translation (thanks elarequi)
|
125 |
* Added: Method to obtain debug information
|
@@ -171,5 +174,5 @@ You can open a topic [on the forum](http://wordpress.org/tags/google-document-em
|
|
171 |
|
172 |
== Upgrade Notice ==
|
173 |
|
174 |
-
= 2.4.
|
175 |
-
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 2.4.2 =
|
124 |
+
* Fixed: PHP Warning related to MIME type expansion (thanks Adebayo)
|
125 |
+
|
126 |
= 2.4.1 =
|
127 |
* Added: Spanish translation (thanks elarequi)
|
128 |
* Added: Method to obtain debug information
|
174 |
|
175 |
== Upgrade Notice ==
|
176 |
|
177 |
+
= 2.4.2 =
|
178 |
+
MIME expansion bug fix
|