Opened 13 years ago
Closed 13 years ago
#19563 closed defect (bug) (fixed)
feed generator does not correctly detect if we run on https
Reported by: | duritong | Owned by: | dd32 |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Feeds | Keywords: | has-patch |
Focuses: | Cc: |
Description
wp-includes/feed.php does not correctly detect, whether the feed is accessed via https or not, so it will always generate an http-only link.
This is because it looks for
$_SERVER['https']
instead of
$_SERVER['HTTPS']
Other wordpress scripts are already looking for:
$_SERVER['HTTPS']
So fix is quite simple and patch is attached and uploaded here: https://gist.github.com/1481164
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
fix for https on feed issue