[wp-trac] [WordPress Trac] #23284: Wrong parameter order for stripos in wp-includes/functions.php
WordPress Trac
noreply at wordpress.org
Thu Jan 24 14:07:23 UTC 2013
#23284: Wrong parameter order for stripos in wp-includes/functions.php
-----------------------------+--------------------------
Reporter: Kalindor | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: 3.5 | Severity: normal
Keywords: |
-----------------------------+--------------------------
In wp-includes/functions.php lines 658 and 661 stripos is used two times
with parameters in the wrong order.
This would be correct:
{{{
if ( 0 === stripos( $uri, 'http://' ) ) {
}}}
{{{
} elseif ( 0 === stripos( $uri, 'http://' ) ) {
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23284>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list