Make WordPress Core


Ignore:
Timestamp:
05/02/2006 10:36:06 PM (20 years ago)
Author:
ryan
Message:

Nonce from above. #2678

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-form.php

    r3729 r3759  
    33    $heading = __('Edit Bookmark');
    44    $submit_text = __('Save Changes »');
    5     $form = '<form name="editlink" id="editlink" method="post" action="link.php">';
     5    $form = '<form name="editlink" id="editlink" method="post" action="link.php">';
     6    $nonce_action = 'update-bookmark' . $link_id;
    67} else {
    78    $heading = __('Create Bookmark');
    89    $submit_text = __('Add Bookmark &raquo;');
    910    $form = '<form name="addlink" id="addlink" method="post" action="link.php">';
     11    $nonce_action = 'add-bookmark';
    1012}
    1113
     
    3234<h2><?php echo $heading ?></h2>
    3335<?php echo $form ?>
    34  
     36<?php wp_nonce_field($nonce_action); ?>
     37
    3538<div id="poststuff">
    3639<div id="moremeta">
Note: See TracChangeset for help on using the changeset viewer.