Skip to content

Commit

Permalink
Bump 2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCulea authored Oct 5, 2018
1 parent c44252d commit a15bae6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bea-sanitize-filename.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: BEA - Sanitize Filename
Version: 2.0.5
Version: 2.0.6
Plugin URI: https://github.com/BeAPI/bea-sanitize-filename
Description: Remove all punctuation and accents from the filename of uploaded files.
Author: Be API Technical team
Expand Down Expand Up @@ -34,7 +34,8 @@ function bea_sanitize_file_name_chars( $special_chars = array() ) {
$special_chars = array_merge( array( '', '', '', '', '«', '»', '', '', '', '', '©' ), $special_chars );
/**
* Accentued caracters
* @see : https://github.com/BeAPI/bea-sanitize-filename/issues/8
* @see https://github.com/BeAPI/bea-sanitize-filename/issues/8
* @since 2.0.6
*/
$special_chars = array_merge( array( 'À','Á','Â','Ã','Ä','Å','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ò','Ó','Ô','Õ','Ö','Ù','Ú','Û','Ü','Ý','à','á','â','ã','ä','å','ç','è','é','ê','ë','ì','í','î','ï','ð','ò','ó','ô','õ','ö','ù','ú','û','ü','ý','ÿ' ), $special_chars );

Expand Down

0 comments on commit a15bae6

Please sign in to comment.