plugin-icon

PRyC WP: Force protocol relative to uploaded media

作者:Patryk·
Force protocol relative (\ instead http:\ or https:\) for files added in the content editor (eg. post, page)
版本
1.0.3
活跃安装
10
最后更新
Jun 20, 2023
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).

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.2.8
这个插件是可用的下载,适用于您的站点。