WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#18679 new defect (bug)

Images added via SSL admin backend are included via https in the frontend

Reported by: multimule Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 3.2.1
Component: Media Keywords: reporter-feedback
Focuses: Cc:

Description

When logged in to the admin interface via a secure connection (SSL / HTTPS), images that are being added to an article will reference the image URL with https:// as opposed to http://

This behaviour is inconsistent as the method the admin interface is access shall be independent of the frontend output.

It also can break output in case of using self-signed SSL certificates. In that case a client may display the blog correctly, but without any images (or error icons for the images).

Change History (5)

comment:1 multimule3 years ago

  • Summary changed from Images added via SSL admin backend will are included via https in the frontend to Images added via SSL admin backend are included via https in the frontend

comment:2 johnbillion3 years ago

  • Cc johnbillion@… added

comment:3 dd323 years ago

Can you reproduce this using a Default theme(TwentyTen or TwentyEleven)?

The link to the image should be dynamically generated when the image is retrieved, the only field that isn't dynamic, is the Guid field, which should never be used as a url to the image (despite the fact that it appears as such).. So it'd be appreciated if you can check to see if it occurs with a "known good" theme (aka, the default themes)

comment:4 SergeyBiryukov3 years ago

  • Keywords reporter-feedback added

comment:5 marfarma2 years ago

Related to #15928:comment:5 -- multimule's reported behavior is seen when #15928 is worked-around with a filter on get_option('siteurl').

See #19023:comment:5 for an expanded explanation and related discussion.

Version 0, edited 2 years ago by marfarma (next)
Note: See TracTickets for help on using tickets.