Disable WebP By Default

説明

Proposed to be included in WordPress 6.0 is a new feature to generate and use webp images by default. Specifically, when an image is uploaded, a WebP version of every image subsize is created. According to the proposal(https://make.wordpress.org/core/2022/03/28/enabling-webp-by-default/), one downside is that generating WebP versions along with the original JPEGs will “use an additional ~70% of the storage space to store both file types.” Although this is hugely beneficial to most websites and, more importantly, their users, some site owners may not be immediately able to increase the size of their storage to accommodate the additional file type. As stop-gap measure, this small plugin simply disables WebP creation on upload. For more information, see the proposal or the Trac ticket(https://core.trac.wordpress.org/ticket/55443).

*** 2022-07-22 UPDATE ***
Although the original implementation was not merged in 6.0 due to community feedback, changeset 53751(https://core.trac.wordpress.org/changeset/53751) merged an updated implementation that addresses some(but not all) concerns from the community. This merge will be part of the 6.1 release, unless further changes are needed. Some site owners may not be able to immediately cope with doubling their required storage allotment with their host, so the original goal of this plugin remains. The code has been updated to disable WebP creation on upload globally. There is a new ticket discussing the possibility of making this feature into a setting(see https://core.trac.wordpress.org/ticket/56263). However, given WordPress’s core philosphy of “Decisions, Not Options”, it’s unlikely to proceed.

インストール

  1. Upload the disable-webp-by-default folder to the plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

評価

2022年7月29日
Thank you for creating this plugin! It's a shame it's necessary, but I appreciate that you created it to make it easier for site owners to be able to take back control over their sites without needing to know how to add a filter.
2件のレビューをすべて表示

貢献者と開発者

Disable WebP By Default はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Disable WebP By Default” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.3.0

  • Update code to only remove the JPEG -> WebP transform, leaving the other default JPEG -> JPEG transforms in place. (Props @adamsilverstein)

0.2.0

  • r53751 compatibility update.

0.1.0

  • Initial release.