Changeset 3263448
- Timestamp:
- 03/28/2025 10:41:48 AM (9 months ago)
- Location:
- ls-sanitize-greek-filename
- Files:
-
- 4 added
- 3 edited
-
tags/1.1 (added)
-
tags/1.1/README.md (added)
-
tags/1.1/ls-sanitize-greek-filename.php (added)
-
tags/1.1/readme.txt (added)
-
trunk/README.md (modified) (1 diff)
-
trunk/ls-sanitize-greek-filename.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ls-sanitize-greek-filename/trunk/README.md
r3263007 r3263448 22 22 23 23 ## Changelog 24 ### 1.1 25 - Added ς to convert to s. 26 24 27 ### 1.0 25 28 - Initial release. -
ls-sanitize-greek-filename/trunk/ls-sanitize-greek-filename.php
r3263007 r3263448 3 3 * Plugin Name: LS Sanitize Greek Filename 4 4 * Description: Replaces Greek characters in filenames with their Latin equivalents upon file upload. 5 * Version: 1. 05 * Version: 1.1 6 6 * Author: lenasterg 7 7 * Requires at least: 4.6 … … 28 28 $greek = array('Ά', 'Έ', 'Ή', 'Ί', 'Ό', 'Ύ', 'Ώ', 'ΐ', 'ά', 'έ', 'ή', 'ί', 'ό', 'ύ', 'ώ', 'ϊ', 'ϋ', 'Ϊ', 'Ϋ', 29 29 'Α', 'Β', 'Γ', 'Δ', 'Ε', 'Ζ', 'Η', 'Θ', 'Ι', 'Κ', 'Λ', 'Μ', 'Ν', 'Ξ', 'Ο', 'Π', 'Ρ', 'Σ', 'Τ', 'Υ', 'Φ', 'Χ', 'Ψ', 'Ω', 30 'α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω' );30 'α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω','ς'); 31 31 32 32 $latin = array('A', 'E', 'H', 'I', 'O', 'Y', 'O', 'i', 'a', 'e', 'h', 'i', 'o', 'y', 'o', 'i', 'y', 'I', 'Y', 33 33 'A', 'B', 'G', 'D', 'E', 'Z', 'H', 'TH', 'I', 'K', 'L', 'M', 'N', 'X', 'O', 'P', 'R', 'S', 'T', 'Y', 'F', 'CH', 'PS', 'O', 34 'a', 'b', 'g', 'd', 'e', 'z', 'h', 'th', 'i', 'k', 'l', 'm', 'n', 'x', 'o', 'p', 'r', 's', 't', 'y', 'f', 'ch', 'ps', 'o' );34 'a', 'b', 'g', 'd', 'e', 'z', 'h', 'th', 'i', 'k', 'l', 'm', 'n', 'x', 'o', 'p', 'r', 's', 't', 'y', 'f', 'ch', 'ps', 'o','s'); 35 35 36 36 return str_replace($greek, $latin, $filename); -
ls-sanitize-greek-filename/trunk/readme.txt
r3263007 r3263448 3 3 Plugin URI: https://github.com/lenasterg/ls-sanitize-greek-filename 4 4 Description: Replaces Greek characters in filenames with their Latin equivalents upon file upload. 5 Version: 1. 06 Stable tag: 1. 05 Version: 1.1 6 Stable tag: 1.1 7 7 Author: lenasterg 8 8 Author URI: https://profiles.wordpress.org/lenasterg/ … … 36 36 37 37 == Changelog == 38 = 1.1 = 39 * Added ς to convert to s. 40 38 41 = 1.0 = 39 42 * Initial release.
Note: See TracChangeset
for help on using the changeset viewer.