Linux 软件免费装

Overwrite Uploads

开发者 iandunn
更新时间 2020年12月9日 23:32
捐献地址: 去捐款
PHP版本: 2.9 及以上
WordPress版本: 5.6
版权: GPLv2

标签

files media library unique uploads filename overwrite

下载

1.0 1.0.1 1.0.2 1.1 1.2

详情介绍:

By default WordPress doesn't overwrite an existing file if you upload a new one with the same name and directory. Instead, it appends a number to the end of the filename in order to make it unique, e.g., filename.jpg becomes filename1.jpg. That isn't always the desired behavior, so this plugin makes it so that any files uploaded will automatically overwrite existing files in the same folder, rather than creating a second file with a unique name. It will not overwrite files in other folders. After activating the plugin, you won't need to do anything else, it'll start working automatically. If you run into problems, please check the FAQ and existing support forum posts before opening a new support request.

安装:

For help installing this (or any other) WordPress plugin, please read the Managing Plugins article on the Codex. Once the plugin is installed and activated, it will start to work automatically.

升级注意事项:

1.2 Version 1.2 adds support for sideloaded images, and fixes a bug when handling files with spaces and other non-standard characters in the name. 1.1 Overwrite Uploads 1.1 now works without having to modify WordPress Core files 1.0.2 Overwrite Uploads 1.0.2 fixes a bug where old Media Library entries weren't deleted. 1.0.1 Overwrite Uploads 1.0.1 adds support for network-side activation on WordPress MultiSite installations 1.0 Initial release

常见问题:

Why do I see multiple copies of the file in the Media Library

WordPress allows files to have the same name if they're not in the same directory. So, wp-content/uploads/2013/11/pizza.jpg can live alongside wp-content/uploads/2013/12/pizza.jpg. This plugin only deletes existing files if they are in the same folder that the new file will be placed in.

Can I make a donation to support the plugin?

I do this as a way to give back to the WordPress community, so I don't want to take any donations, but if you'd like to give something I'd encourage you to make a microloan with Kiva.

Do you support this plugin?

I'm happy to fix reproducible bugs, but I don't have time to help you customize the plugin to fit your specific needs.

更新日志:

1.2 (2017-04-01) 1.1 (2013-12-14) 1.0.2 1.0.1 1.0