Fix order of params to strpos. props ampt, fixes #12115.

git-svn-id: https://develop.svn.wordpress.org/trunk@14976 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-27 04:14:35 +00:00
parent 62d4016045
commit 4bcefca0ca
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ class WP_oEmbed {
* @return string Possibly modified $html
*/
function _strip_newlines( $html, $data, $url ) {
if ( false !== strpos( "\n", $html ) )
if ( false !== strpos( $html, "\n" ) )
$html = str_replace( array( "\r\n", "\n" ), '', $html );
return $html;