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:
parent
62d4016045
commit
4bcefca0ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user