开发者 | iandunn |
---|---|
更新时间 | 2025年8月5日 04:31 |
捐献地址: | 去捐款 |
PHP版本: | 2.9 及以上 |
WordPress版本: | 6.8.2 |
版权: | GPLv2 |
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.
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.
Also, only Editor and Administrator accounts can overwrite the uploads of other users. You can customize this behavior using the ovup_can_overwrite_upload
filter.
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.
I'm happy to fix reproducible bugs, but I don't have time to help you customize the plugin to fit your specific needs.
ovup_can_overwrite_upload
filter. Props phycox69.