Skip to content

Commit 65f8b45

Browse files
committed
Update reamde with #4 & #5
1 parent dc9a604 commit 65f8b45

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
This mu-plugin allows you to sanitize files on upload, which is pretty handy.
44
You could then ask "Why it's not already into core?". This is [make WordPress core](https://core.trac.wordpress.org/ticket/22363) !
55

6-
## Compatibility for MAC owners
6+
## Features
77

8-
On MAC, you can also create an accented character with the combination of *`* and the wanted letter. This has the effect to create a character with a special filename system encoding format which is not sanitized.
9-
An [issue](https://github.com/BeAPI/bea-sanitize-filename/issues/1) is open about this.
8+
* All accented letters will be converted to same letters without accent
9+
* Special characters will be deleted
10+
* Underscores will be replaced by hyphens
1011

1112
## Installation
1213

@@ -22,10 +23,17 @@ We assume this is a must have plugin, so it's recommended to use at it as mu-plu
2223

2324
1. Copy the plugin folder into your must use plugins folder.
2425

26+
## Compatibility for MAC owners
27+
28+
On MAC, you can also create an accented character with the combination of *`* and the wanted letter. This has the effect to create a character with a special filename system encoding format which is not sanitized.
29+
An [issue](https://github.com/BeAPI/bea-sanitize-filename/issues/1) is open about this.
30+
2531
## Changelog
2632

2733
### 1.0.1 - 05 Aug 2017
2834
* Add readme
35+
* Replace underscore by hyphen
36+
* Only lowercase
2937

3038
### 1.0.0 - 27 Nov 2015
3139
* Initial

0 commit comments

Comments
 (0)