You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,11 @@
3
3
This mu-plugin allows you to sanitize files on upload, which is pretty handy.
4
4
You could then ask "Why it's not already into core?". This is [make WordPress core](https://core.trac.wordpress.org/ticket/22363) !
5
5
6
-
## Compatibility for MAC owners
6
+
## Features
7
7
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
10
11
11
12
## Installation
12
13
@@ -22,10 +23,17 @@ We assume this is a must have plugin, so it's recommended to use at it as mu-plu
22
23
23
24
1. Copy the plugin folder into your must use plugins folder.
24
25
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.
0 commit comments