Make WordPress Core


Ignore:
Timestamp:
01/04/2008 08:46:33 AM (17 years ago)
Author:
ryan
Message:

Port autosave to jquery. Props rmccue. see #3824

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r6542 r6546  
    969969function wp_nonce_field( $action = -1, $name = "_wpnonce", $referer = true ) {
    970970    $name = attribute_escape( $name );
    971     echo '<input type="hidden" name="' . $name . '" value="' . wp_create_nonce( $action ) . '" />';
     971    echo '<input type="hidden" id="' . $name . '" name="' . $name . '" value="' . wp_create_nonce( $action ) . '" />';
    972972    if ( $referer )
    973973        wp_referer_field();
Note: See TracChangeset for help on using the changeset viewer.