该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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:

<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>

After, when add media:

<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>

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

安装

  1. Upload pryc-wp-force-protocol-relative-to-uploaded-media dir to the /wp-content/plugins/ directory
  2. Activate the plugin through the \’Plugins\’ menu in WordPress

评价

此插件暂无评价。

贡献者及开发者

「PRyC WP: Force protocol relative to uploaded media」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • First public ver.