Opened 13 years ago
Closed 13 years ago
#19899 closed enhancement (fixed)
Redundant logic in filter_SSL() function
Reported by: | deltafactory | Owned by: | duck_ |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | trivial | Version: | 3.3.1 |
Component: | Multisite | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
I'm not sure if there's a reason it's written this way, but the logic in this line seems redundant.
http://core.trac.wordpress.org/browser/trunk/wp-includes/ms-functions.php#L1947
if ( 'http' === $arrURL['scheme'] && 'https' !== $arrURL['scheme'] )
In the interest of simplification, shouldn't this line be:
if ( 'http' === $arrURL['scheme'] )
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Yes, it is redundant.