Changeset 6546 for trunk/wp-includes/functions.php
- Timestamp:
- 01/04/2008 08:46:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r6542 r6546 969 969 function wp_nonce_field( $action = -1, $name = "_wpnonce", $referer = true ) { 970 970 $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 ) . '" />'; 972 972 if ( $referer ) 973 973 wp_referer_field();
Note: See TracChangeset
for help on using the changeset viewer.