WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/30/2008 08:43:36 PM (14 years ago)
Author:
ryan
Message:

Add some noncing. Props andy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r7998 r8023  
    791791                "post_id" : "<?php echo $post_id; ?>",
    792792                "auth_cookie" : "<?php echo $_COOKIE[AUTH_COOKIE]; ?>",
     793                "_wpnonce" : "<?php echo wp_create_nonce('media-form'); ?>",
    793794                "type" : "<?php echo $type; ?>",
    794795                "tab" : "<?php echo $tab; ?>",
Note: See TracChangeset for help on using the changeset viewer.