Plugin Directory

Changeset 3263448


Ignore:
Timestamp:
03/28/2025 10:41:48 AM (9 months ago)
Author:
lenasterg
Message:

version 1.1

Location:
ls-sanitize-greek-filename
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • ls-sanitize-greek-filename/trunk/README.md

    r3263007 r3263448  
    2222
    2323## Changelog
     24### 1.1
     25- Added ς to convert to s.
     26
    2427### 1.0
    2528- Initial release.
  • ls-sanitize-greek-filename/trunk/ls-sanitize-greek-filename.php

    r3263007 r3263448  
    33 * Plugin Name: LS Sanitize Greek Filename
    44 * Description: Replaces Greek characters in filenames with their Latin equivalents upon file upload.
    5  * Version: 1.0
     5 * Version: 1.1
    66 * Author: lenasterg
    77 * Requires at least: 4.6
     
    2828     $greek = array('Ά', 'Έ', 'Ή', 'Ί', 'Ό', 'Ύ', 'Ώ', 'ΐ', 'ά', 'έ', 'ή', 'ί', 'ό', 'ύ', 'ώ', 'ϊ', 'ϋ', 'Ϊ', 'Ϋ',
    2929                   'Α', 'Β', 'Γ', 'Δ', 'Ε', 'Ζ', 'Η', 'Θ', 'Ι', 'Κ', 'Λ', 'Μ', 'Ν', 'Ξ', 'Ο', 'Π', 'Ρ', 'Σ', 'Τ', 'Υ', 'Φ', 'Χ', 'Ψ', 'Ω',
    30                    'α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω');
     30                   'α', 'β', 'γ', 'δ', 'ε', 'ζ', 'η', 'θ', 'ι', 'κ', 'λ', 'μ', 'ν', 'ξ', 'ο', 'π', 'ρ', 'σ', 'τ', 'υ', 'φ', 'χ', 'ψ', 'ω','ς');
    3131   
    3232    $latin = array('A', 'E', 'H', 'I', 'O', 'Y', 'O', 'i', 'a', 'e', 'h', 'i', 'o', 'y', 'o', 'i', 'y', 'I', 'Y',
    3333                   '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');
    3535   
    3636    return str_replace($greek, $latin, $filename);
  • ls-sanitize-greek-filename/trunk/readme.txt

    r3263007 r3263448  
    33Plugin URI: https://github.com/lenasterg/ls-sanitize-greek-filename
    44Description: Replaces Greek characters in filenames with their Latin equivalents upon file upload.
    5 Version: 1.0
    6 Stable tag: 1.0
     5Version: 1.1
     6Stable tag: 1.1
    77Author: lenasterg
    88Author URI: https://profiles.wordpress.org/lenasterg/
     
    3636
    3737== Changelog ==
     38= 1.1 =
     39* Added ς to convert to s.
     40
    3841= 1.0 =
    3942* Initial release.
Note: See TracChangeset for help on using the changeset viewer.