Make WordPress Core


Ignore:
Timestamp:
05/26/2006 11:31:24 PM (20 years ago)
Author:
ryan
Message:

Update nonce action strings. Props mdawaffe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/plugin-editor.php

    r3771 r3805  
    3535case 'update':
    3636
    37     check_admin_referer('edit-plugin' . $file);
     37    check_admin_referer('edit-plugin_' . $file);
    3838
    3939    if ( !current_user_can('edit_plugins') )
     
    9898    <?php   if (!$error) { ?>
    9999  <form name="template" id="template" action="plugin-editor.php" method="post">
    100   <?php wp_nonce_field('edit-plugin' . $file) ?>
     100  <?php wp_nonce_field('edit-plugin_' . $file) ?>
    101101         <div><textarea cols="70" rows="25" name="newcontent" id="newcontent" tabindex="1"><?php echo $content ?></textarea>
    102102     <input type="hidden" name="action" value="update" />
Note: See TracChangeset for help on using the changeset viewer.