Make WordPress Core


Ignore:
Timestamp:
05/15/2007 04:47:07 PM (19 years ago)
Author:
ryan
Message:

Add nonce to avoid AYS when restoring image header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-admin/custom-header.php

    r5386 r5477  
    195195<p><?php _e('This will restore the original header image and color. You will not be able to retrieve any customizations.') ?></p>
    196196<form method="post" action="<?php echo attribute_escape(add_query_arg('step', 1)) ?>">
     197<?php wp_nonce_field('custom-header'); ?>
    197198<input type="submit" name="resetheader" value="<?php _e('Restore Original Header'); ?>" />
    198199</form>
Note: See TracChangeset for help on using the changeset viewer.