Skip to content

Commit

Permalink
bugfix proper handling of non latin characters in filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Volkmar Kantor committed Dec 15, 2015
1 parent 82f66b9 commit e453cb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion functions/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function generateFilename( $file, $w, $h ){
$suffix = "{$w}x{$h}";
$destfilename = "{$dir}/{$name}-{$suffix}.{$ext}";

return $destfilename;
return html_entity_decode($destfilename);
}
}
?>
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ If you fork and planning to publish the forked plugin, please contact me.
5. Choose what image-sizes should be hidden (for what post-types), for better usability.

== Changelog ==
= 0.10.5 =
* bugfix: proper handling of non latin characters in filenames

= 0.10.4 =
* i18n of the button in the image-media-view changed
* add 'medium_large' size to (intern) default-sizes (fix notice)
Expand Down

0 comments on commit e453cb0

Please sign in to comment.