mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 17:44:25 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user