Plugin / Clean Filenames

Samuel Aguilera

Changelog

Changelog

1.2.3

  • Added additional support for files uploaded using single upload Gravity Forms fields. Thanks to my buddy David Smith! 🙂

1.2.2

  • Added filter scf_friendly_filename to allow additional changes to the filename before returning it to WP.
  • Minor changes to make code 100% compliant with WordPress Coding Standards. This doesn’t means any change in the plugin functionality, it’s just code cosmetic.

1.2

  • Added remove_accents() WP core function as first step instead of previous own custom replacement array for accents.

1.1.1

  • Minor coding standards improvements.

1.1

  • Fixed bug introduced in 1.0.9. Thanks to Edu from etmsoft for reporting it.

1.0.9

  • Added: All letters in the filename are set to lowercase to prevent issues with case insensitive systems.

1.0.8

  • Added support for Hebrew (letters will be replaced, puntuation and ligatures will be removed). e.g. ‘א’ will be replaced by ‘a’, and ‘×°’ will be removed from the filename.
  • After running all character replacement filters, a last filter is applied to ensure that the filename only contains letters, numbers, underscores, dashes, and dots. Any other character will be removed from the filename.

1.0.6

  • Plugin name changed from Sanitize Spanish Filenames to Clean Filenames to better reflect actual purpose of the plugin (originally it was created only for spanish characters).
  • Changed readme content and language.

1.0.5

  • Added: Replaces any ‘.’ character in the filename except for last one (for file extension) with ‘-‘.

1.0.4

  • Added: Replaces any ‘+’ in the filename with ‘-‘.

1.0.3

  • Many more characters and some symbols added. Cleaning not only spanish characters but from other languages too.

1.0.2

  • Fixed a little bug that causes ‘º’ replaced by ‘a’ instead of ‘o’, and same problem for ‘ª’.

1.0.1

  • Added characters ü Ü º ª that will be replaced with u U o a

1.0

  • Initial release.

Ratings

4.6
7 reviews

Rating breakdown

Details Information

Version

1.2.3

First Released

26 Apr, 2009

Total Downloads

15,769

Wordpress Version

4.9 or higher

Tested up to:

5.3

Require PHP Version:

5.6 or higher

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.