﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14428	Warning on export in wp-includes/formatting.php	kau-boy		"Trying to export the WordPress data with the export functionality you get the following warning:[[BR]]
[[BR]]
{{{
Warning: strip_tags() expects parameter 1 to be string, array given in C:\xampp\htdocs\wordpress\wp-includes\formatting.php on line 2776
}}}
[[BR]]
That happens because the export mechanism tries to use an array with the categories on the function wp_strip_all_tags() which can only get strings as a parameter.[[BR]]
To fix the bug you can either remove the call to wp_strip_all_tags() (wherever it takes place), or you can check the parameter of the wp_strip_all_tags() function to be a string (add to line 2772 of wp-includes/formatting.php):[[BR]]

{{{
// not a string
if( !is_string( $string ) )
	retrun $string;
}}}
"	defect (bug)	closed	normal		Export	3.0	normal	duplicate		
