Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #34109, comment 31


Ignore:
Timestamp:
03/10/2016 07:11:26 PM (9 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34109, comment 31

    v1 v2  
    11Thinking 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, and should be filtered.
    22
    3 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.
     3Then we can fix things like inserting https images in the editor to avoid mixed content warnings, but replacing them with http on saving when the site is not ssl.