Support » Plugin: Clean Filenames » Sanitize Danish letters correctly, and WP 5 compatible

  • Resolved Bjarne

    (@oldrup)


    Thank you for this “must have” plugin 🙂

    Small thing. The Danish letters ÆØÅ are sanitized, but not quite correctly. The correct way is this
    Æ and æ : ae
    Ø and ø : oe
    Å and å : aa

    Using the built in plugin editor, I was able to fix the letters in the following strings

    
    'a','a','a','a','aa','ae','c','e','e','e','e','i','i','i','i','d','n','o','o','o','x','oe','u','u','u','y','p', // extra all
    			'a','a','a','a','aa','ae','c','e','e','e','e','i','i','i','i','d','n','o','o','o','x','oe','u','u','u','y','p','y','y',
    

    Now ÆØÅ is sanitized correctly.

    FYI:This edit, was done in WordPress 5.0 beta 4, and Clean Filenames seems to behave just fine under WP5

    Kind regards
    Bjarne

  • The topic ‘Sanitize Danish letters correctly, and WP 5 compatible’ is closed to new replies.