Make WordPress Core


Ignore:
Timestamp:
03/18/2008 07:20:18 PM (18 years ago)
Author:
ryan
Message:

Fix over-aggressive form validation. Props mdawaffe. fixes #6209

File:
1 edited

Legend:

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

    r7181 r7384  
    33    $heading = __('Edit Category');
    44    $submit_text = __('Edit Category');
    5     $form = '<form name="editcat" id="editcat" method="post" action="categories.php">';
     5    $form = '<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">';
    66    $action = 'editedcat';
    77    $nonce_action = 'update-category_' . $cat_ID;
     
    1010    $heading = __('Add Category');
    1111    $submit_text = __('Add Category');
    12     $form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list:">';
     12    $form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">';
    1313    $action = 'addcat';
    1414    $nonce_action = 'add-category';
Note: See TracChangeset for help on using the changeset viewer.