Make WordPress Core

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


Ignore:
Timestamp:
03/10/2016 04:01:40 PM (9 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34109, comment 31

    initial v1  
    1 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.
     1Thinking 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
    33Then 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.