2017 © Pedro Peláez
 

wordpress-muplugin filename-normalizer

WordPress mu-plugin to normalize filenames before they are uploaded.

image

wearerequired/filename-normalizer

WordPress mu-plugin to normalize filenames before they are uploaded.

  • Saturday, January 13, 2018
  • by wearerequired
  • Repository
  • 3 Watchers
  • 2 Stars
  • 831 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 45 % Grown

The README.md

Filename Normalizer

Normalizes filenames before they are uploaded., (*1)

täst.png uses a vowel followed by a diaeresis (a\xcc\x88). The normalizer normalizes the name so that for example remove_accents() can replace ä (\xC3\xA4) with ae., (*2)

This is especially useful in combination with the Clean Image Filenames plugin which uses sanitize_title() (and thus remove_accents())., (*3)

Installation

The package type is wordpress-muplugin. Example of a composer.json:, (*4)

{
  "name": "wearerequired/something",
  "description": "required.com",
  "license": "GPL-2.0-or-later",
  "authors": [
    {
      "name": "required gmbh",
      "email": "info@required.ch"
    }
  ],
  "require": {
    "php": ">=5.6",
    "koodimonni/composer-dropin-installer": "dev-master",
    "johnpbloch/wordpress": "~4.9",
    "wearerequired/filename-normalizer": "^1.0"
  },
  "extra": {
    "wordpress-install-dir": "wordpress/wp",
    "installer-paths": {
      "wordpress/content/plugins/{$name}/": [
        "type:wordpress-plugin"
      ],
      "vendor/{$vendor}/{$name}/": [
        "type:wordpress-muplugin"
      ],
      "wordpress/content/themes/{$name}/": [
        "type:wordpress-theme"
      ]
    },
    "dropin-paths": {
      "wordpress/content/mu-plugins/": [
        "type:wordpress-muplugin"
      ]
    }
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}

The Versions

13/01 2018

dev-master

9999999-dev https://github.com/wearerequired/filename-normalizer

WordPress mu-plugin to normalize filenames before they are uploaded.

  Sources   Download

GPL-2.0-or-later

The Requires

  • php >=5.6
  • ext-intl >=1.0.0

 

wordpress upload normalizer filename

13/01 2018

1.0.1

1.0.1.0 https://github.com/wearerequired/filename-normalizer

WordPress mu-plugin to normalize filenames before they are uploaded.

  Sources   Download

GPL-2.0-or-later

The Requires

  • php >=5.6
  • ext-intl >=1.0.0

 

wordpress upload normalizer filename