Pluck a tab (whitespace), props SergeyBiryukov, see #20369

git-svn-id: http://svn.automattic.com/wordpress/trunk@20377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-04-06 18:26:14 +00:00
parent 2441cb0cae
commit f06fb15878
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ function _cleanup_image_add_caption($str) {
$s = preg_replace( '/[\r\n\t]+/', ' ', $str[0] );
// look for single quotes inside html attributes (for example in title)
$s = preg_replace_callback( '/="[^"]+"/', '_cleanup_image_add_caption2', $s );
return str_replace( '"', "'", $s );
return str_replace( '"', "'", $s );
}
return '';