[wp-trac] [WordPress Trac] #19654: Allow overload of is_ssl() via a filter
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 3 17:40:46 UTC 2012
#19654: Allow overload of is_ssl() via a filter
-------------------------+------------------
Reporter: superkus | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4
Component: Plugins | Version: 3.3
Severity: minor | Resolution:
Keywords: |
-------------------------+------------------
Comment (by nacin):
Might this filter be too low level for plugins to safely use? I feel like
it may try to be used in place of other aspects like forcing SSL and what
not, rather than for correcting the `$_SERVER` vars.
Chances are, someone filtering this will likely still need to forward on
the remote IP and possibly the server port. And this filter does nothing
for plugins checking `$_SERVER['HTTPS']` on their own, which isn't "wrong"
per se — is_ssl() is more of a helper function than a WordPress
environment function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19654#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list