mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Port autosave to jquery. Props rmccue. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@6546 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -968,7 +968,7 @@ function wp_nonce_url( $actionurl, $action = -1 ) {
|
||||
|
||||
function wp_nonce_field( $action = -1, $name = "_wpnonce", $referer = true ) {
|
||||
$name = attribute_escape( $name );
|
||||
echo '<input type="hidden" name="' . $name . '" value="' . wp_create_nonce( $action ) . '" />';
|
||||
echo '<input type="hidden" id="' . $name . '" name="' . $name . '" value="' . wp_create_nonce( $action ) . '" />';
|
||||
if ( $referer )
|
||||
wp_referer_field();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user