This plugin is outdated and might not be supported anymore
PRyC WP: Force protocol relative to uploaded media

PRyC WP: Force protocol relative to uploaded media

By PRyC
Details
View on WordPress

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

Details

Plugin code:
pryc-wp-force-protocol-relative-to-uploaded-media
Plugin version:
1.0.3
Author:
Outdated:
Yes
WP version:
3.0.1 or higher
PHP version:
or higher
Test up to WP version:
6.2.6
Total installations:
10
Last updated:
2023-06-20
Rating:
Times rated:
0
http
https
ssl
url
wordpress