mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
fee56ae40f
commit
addcd21cc0
@ -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