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
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,18 +25,18 @@ For best performance [install](http://php.net/manual/en/intl.installation.php) (
25
25
the [PHP Internationalization extension `Intl`](http://php.net/manual/en/intro.intl.php),
26
26
which includes the PHP class `Normalizer`.
27
27
28
-
However the plugin works without the PHP Internationalization extension being installed, as it uses (a modified version of)
28
+
However the plugin works without the PHP `Intl` extension being installed, as it uses (a modified version of)
29
29
the [Symfony `Normalizer` polyfill](https://github.com/symfony/polyfill/tree/master/src/Intl/Normalizer).
30
30
31
-
Also text pasted into inputs is normalized immediately using the javascript[`normalize()` method](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/normalize).
31
+
Also text pasted into (most) inputs is normalized immediately using the JavaScript[`normalize()` method](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/normalize).
32
32
For browsers without normalization support, the [unorm polyfill](https://github.com/walling/unorm) is used.
33
33
34
34
### Background ###
35
35
36
36
For further info, see the WP Trac ticket [#30130 Normalize characters with combining marks to precomposed characters](https://coretrac.wordpress.org/ticket/30130)
37
37
and this [Make WP Core comment](https://make.wordpress.org/core/2016/05/17/may-17-feature-projects-chat-and-prompt/#comment-30300).
38
38
39
-
The plugin also works around the Safari-specific issues raised by WP Trac ticket [#22363 Accents in attachment filenames should be sanitized](https://core.trac.wordpress.org/ticket/22363).
39
+
The plugin also works around the Safari-specific issues raised by the WP Trac ticket [#22363 Accents in attachment filenames should be sanitized](https://core.trac.wordpress.org/ticket/22363).
40
40
41
41
### Scanner ###
42
42
@@ -46,7 +46,7 @@ This is especially important if your database contains non-normalized serialized
46
46
[Database Search and Replace Script in PHP](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/) to deal with serialized
47
47
data, and is fallible.
48
48
49
-
### Tailends ###
49
+
### And ###
50
50
51
51
A google-cheating schoolboy French translation is supplied.
52
52
@@ -80,6 +80,10 @@ global PHP variable `unfc_normalize`, but you should ensure that the `Normalizer
80
80
}
81
81
add_filter( 'myfilter', array( $unfc_normalize, 'normalize' ), 6 /* Or whatever priority you choose */ );
82
82
83
+
### Does it have a tool to normalize the filenames of files already uploaded using Chrome or Firefox on macOS (OS X) prior to its enabling?
84
+
85
+
No, it doesn't yet, alas. Such files would have to re-uploaded. However if (enough - or more like any) interest were expressed...
86
+
###
83
87
## Screenshots ##
84
88
85
89
### 1. Before and after: pasting non-normalized text into a post's title and content. ###
Copy file name to clipboardExpand all lines: readme.txt
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -24,18 +24,18 @@ For best performance [install](http://php.net/manual/en/intl.installation.php) (
24
24
the [PHP Internationalization extension `Intl`](http://php.net/manual/en/intro.intl.php),
25
25
which includes the PHP class `Normalizer`.
26
26
27
-
However the plugin works without the PHP Internationalization extension being installed, as it uses (a modified version of)
27
+
However the plugin works without the PHP `Intl` extension being installed, as it uses (a modified version of)
28
28
the [Symfony `Normalizer` polyfill](https://github.com/symfony/polyfill/tree/master/src/Intl/Normalizer).
29
29
30
-
Also text pasted into inputs is normalized immediately using the javascript [`normalize()` method](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/normalize).
30
+
Also text pasted into (most) inputs is normalized immediately using the JavaScript [`normalize()` method](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/normalize).
31
31
For browsers without normalization support, the [unorm polyfill](https://github.com/walling/unorm) is used.
32
32
33
33
= Background =
34
34
35
35
For further info, see the WP Trac ticket [#30130 Normalize characters with combining marks to precomposed characters](https://coretrac.wordpress.org/ticket/30130)
36
36
and this [Make WP Core comment](https://make.wordpress.org/core/2016/05/17/may-17-feature-projects-chat-and-prompt/#comment-30300).
37
37
38
-
The plugin also works around the Safari-specific issues raised by WP Trac ticket [#22363 Accents in attachment filenames should be sanitized](https://core.trac.wordpress.org/ticket/22363).
38
+
The plugin also works around the Safari-specific issues raised by the WP Trac ticket [#22363 Accents in attachment filenames should be sanitized](https://core.trac.wordpress.org/ticket/22363).
39
39
40
40
= Scanner =
41
41
@@ -45,7 +45,7 @@ This is especially important if your database contains non-normalized serialized
45
45
[Database Search and Replace Script in PHP](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/) to deal with serialized
46
46
data, and is fallible.
47
47
48
-
= Tailends =
48
+
= And =
49
49
50
50
A google-cheating schoolboy French translation is supplied.
51
51
@@ -79,6 +79,10 @@ global PHP variable `unfc_normalize`, but you should ensure that the `Normalizer
79
79
}
80
80
add_filter( 'myfilter', array( $unfc_normalize, 'normalize' ), 6 /* Or whatever priority you choose */ );
81
81
82
+
= Does it have a tool to normalize the filenames of files already uploaded using Chrome or Firefox on macOS (OS X) prior to its enabling?
83
+
84
+
No, it doesn't yet, alas. Such files would have to re-uploaded. However if (enough - or more like any) interest were expressed...
85
+
82
86
== Screenshots ==
83
87
84
88
1. Before and after: pasting non-normalized text into a post's title and content.
0 commit comments