[wp-trac] [WordPress Trac] #19899: Redundant logic in filter_SSL() function
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 26 01:48:14 UTC 2012
#19899: Redundant logic in filter_SSL() function
--------------------------+-----------------------------
Reporter: deltafactory | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.3.1
Severity: trivial | Keywords:
--------------------------+-----------------------------
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'] )
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19899>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list