[wp-trac] [WordPress Trac] #34109: Incorrect URL scheme for media in the admin area when using administration over HTTPS
WordPress Trac
noreply at wordpress.org
Thu Mar 10 16:00:42 UTC 2016
#34109: Incorrect URL scheme for media in the admin area when using administration
over HTTPS
-------------------------------------------+-----------------------------
Reporter: johnbillion | Owner: jeremyfelt
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Media | Version:
Severity: major | Resolution:
Keywords: https has-patch needs-testing | Focuses: administration
-------------------------------------------+-----------------------------
Comment (by azaozz):
Thinking that to be able to handle all cases well, see
[https://core.trac.wordpress.org/ticket/34109#comment:25 comment:25], we
will need couple more helper functions: `is_ssl_admin()` and
`is_ssl_site()`. Both should work regardless of when they are called, i.e.
from wp-admin and from the front-end.
Then we can fix things like inserting https images in the editor to avoid
unsafe content warnings, but replacing them with http on saving when the
site is not ssl.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34109#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list