[wp-trac] [WordPress Trac] #34609: Image URLs should be hostnameless and methodless by default
WordPress Trac
noreply at wordpress.org
Fri Nov 6 21:00:56 UTC 2015
#34609: Image URLs should be hostnameless and methodless by default
-------------------------+-----------------------------
Reporter: meta | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
The plugin https://wordpress.org/plugins/relative-image-urls/ implements
behavior that I think ought to be WordPress's default behavior.
Consider:
- Fewer HTTP requests, so faster page load time.
- No problems with partially secure pages (some resources HTTP on an
HTTPS page or vice versa).
- Sites can be moved to a new domain without having to edit every single
post and page to fix the URLs of the images.
Note that I'm not asking for image embedding to use relative URL paths,
which has been refused previously for valid reasons.
Rather, I'm asking for images to be embedded with absolute paths but no
hostname or method, so that the browser uses the hostname and method of
the current page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34609>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list