[wp-trac] [WordPress Trac] #38148: Do not store URL protocol in the database
WordPress Trac
noreply at wordpress.org
Sat Sep 24 11:05:20 UTC 2016
#38148: Do not store URL protocol in the database
-------------------------+------------------------------
Reporter: aristath | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: https | Focuses:
-------------------------+------------------------------
Comment (by mdgl):
Indeed, and nothing stops you just writing the shortcode yourself: go to
media library, identify object ID, insert shortcode manually in text
editor.
For images, I think this method would provide an even cleaner and more
flexible method for dealing with image substitution (e.g. for responsive
designs, use of CDN and so on).
Only question for me is whether this should use a standard "shortcode" or
whether a new/private facility should be created so that it is clearly a
separate function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38148#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list