Ajax plugin tweakage from mdawaffe. fixes #3334

git-svn-id: https://develop.svn.wordpress.org/trunk@4458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-11-08 21:23:41 +00:00
parent 94b9222a4b
commit 368ceed2a8
4 changed files with 14 additions and 15 deletions

View File

@@ -688,7 +688,7 @@ class WP_Ajax_Response {
$action = $_POST['action'];
$x = '';
$x .= "<response action='$action_$id'>"; // The action attribute in the xml output is formatted like a nonce action
$x .= "<response action='{$action}_$id'>"; // The action attribute in the xml output is formatted like a nonce action
$x .= "<$what id='$id'" . ( false !== $old_id ? "old_id='$old_id'>" : '>' );
$x .= $response;
$x .= $s;