[WordPress] 外掛分享: SVG Enabler

首頁 › 外掛目錄 › SVG Enabler
WordPress 外掛 SVG Enabler 的封面圖片
30+
安裝啟用
—
尚無評分
11 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v2.0.0 上架:2023-01-26

內容簡介

SVG Enabler 允許您將 SVG 檔案上傳至 WordPress 媒體庫,並確保每個檔案的安全性。此外掛在上傳過程中會對 SVG 檔案進行清理,防止潛在的安全風險。

【主要功能】
• 支援 SVG 和 SVGZ 檔案上傳
• 上傳時自動清理,確保檔案安全
• 使用最新的 enshrined/svg-sanitize 函式庫
• 媒體庫、編輯器及 srcset 中正確顯示影像尺寸
• 與區塊編輯器、經典編輯器及特色圖片兼容
• 無需設置畫面,開箱即用

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SVG Enabler」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

SVG Enabler lets you upload SVG files to the WordPress media library while making sure each file is safe.
SVG is an XML format, which means it can carry JavaScript, event handler attributes, external references and XML entities. Uploading an unsanitized SVG is equivalent to allowing arbitrary HTML and JavaScript uploads. This plugin sanitizes every SVG during upload, before the file is written to your uploads directory.
What gets removed

文章
Filter
Mastodon