Post Edit Collision Detection from mdawaffe. fixes #6043

git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-29 09:51:36 +00:00
parent 9a77cb8b83
commit e29306e69c
14 changed files with 314 additions and 203 deletions

View File

@@ -777,9 +777,11 @@ class WP_Ajax_Response {
}
$s = '';
if ( (array) $supplemental )
if ( (array) $supplemental ) {
foreach ( $supplemental as $k => $v )
$s .= "<$k><![CDATA[$v]]></$k>";
$s = "<supplemental>$s</supplemental>";
}
if ( false === $action )
$action = $_POST['action'];