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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-27 04:14:35 +00:00
parent fee56ae40f
commit addcd21cc0
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;