이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Overwrite Uploads

설명

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.

FAQ

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.

후기

2020년 1월 7일
It’s kind of working. I uploaded a bulk of 150 pix. all with a very simple name A10.jpg A11.jpg and so on. The Plugin worked. Some old versions of the images still remain in some part of the website. Maybe a caching problem…. But so far so good. PS: Newest Version of WordPress – Jan. 2020 und WooCommerce 2020…
2016년 9월 3일 답글 1개
This plugin seems incompatible with the current version of Wordpress. I installed it and tried to upload an image to overwrite another one…and there was no change. Wordpress preserved the initial upload just as it normally does.
2016년 9월 3일 답글 1개
Couldn’t find any instructions on how this is supposed to work nor any trace of it inside admin after install and activation.
모든 8 평가 읽기

기여자 & 개발자

“Overwrite Uploads”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Overwrite Uploads”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.2 (2017-04-01)

  • [NEW] Added support for sideloaded images (typically done by plugins), in addition to regular manual uploads. Props wayneallen-1
  • [FIX] Filenames with spaces and other non-standard characters are now overwritten. Props ascottmccauley

1.1 (2013-12-14)

  • [NEW] Delete existing attachments before a new one is uploaded. This avoids the need to modify WordPress core files.
  • [UPDATE] General code cleanup and modernization
  • [UPDATE] Removed unnecessary debugging method, activation logic and admin notices support
  • [UPDATE] Moved requirements check into bootstrap script
  • [UPDATE] Moved overwrite-uploads.php into classes directory
  • [UPDATE] Fixed improperly capitalized overwriteUploads class name

1.0.2

  • Fixed bug where old Media Library entries weren’t removed if the ‘Organize my uploads into year and month folders’ setting was enabled.
  • Setting removed because it’s unnecessary. Plugin will overwrite uploads if activated, and won’t if it isn’t.

1.0.1

  • Added network-wide activation for WPMS blogs

1.0

  • Initial release