WordPress.org

Make WordPress Core

Ticket #6209: 6209.c.diff

File 6209.c.diff, 829 bytes (added by mdawaffe, 10 years ago)
  • wp-admin/edit-link-form.php

     
    22if ( ! empty($link_id) ) {
    33        $heading = __('Edit Link');
    44        $submit_text = __('Save Changes');
    5         $form = '<form name="editlink" id="editlink" method="post" action="link.php" class="validate">';
     5        $form = '<form name="editlink" id="editlink" method="post" action="link.php">';
    66        $nonce_action = 'update-bookmark_' . $link_id;
    77} else {
    88        $heading = __('Add Link');
    99        $submit_text = __('Add Link');
    10         $form = '<form name="addlink" id="addlink" method="post" action="link.php" class="validate">';
     10        $form = '<form name="addlink" id="addlink" method="post" action="link.php">';
    1111        $nonce_action = 'add-bookmark';
    1212}
    1313