
內容簡介
該外掛強制使用相對協定方式(\ 代替 http: \ 或 https: \)添加由內容編輯器(例如文章、頁面)中添加的檔案。
添加媒體檔案之前:
<a href="https://wordpress.org/wp-content/uploads/some-cool-photo.png"><img src="https://wordpress.org/wp-content/uploads/some-cool-photo.png" alt="Some cool photo" width="1920" height="1410" class="aligncenter size-full wp-image-19200813" /></a>
添加媒體檔案之後:
<a href="//wordpress.org/wp-content/uploads/some-cool-photo.png"><img src="https://wordpress.org/wp-content/uploads/some-cool-photo.png" alt="Some cool photo" width="1920" height="1410" class="aligncenter size-full wp-image-19200813" /></a>
該外掛僅作用於新添加的媒體檔案(不會更改舊條目)。
外掛標籤
開發者團隊
② 後台搜尋「PRyC WP: Force protocol relative to uploaded media」→ 直接安裝(推薦)
原文外掛簡介
Force protocol relative (\ instead http:\ or https:\) for files added in the content editor (eg. post, page)
Before, when add media:

The plugin works only for newly added media (does not change the older entries).
