Changeset 11204 for trunk/wp-admin/edit-link-category-form.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-category-form.php
r11109 r11204 58 58 <div id="ajax-response"></div> 59 59 <?php echo $form ?> 60 <input type="hidden" name="action" value="<?php echo attr($action) ?>" />61 <input type="hidden" name="cat_ID" value="<?php echo attr($category->term_id) ?>" />60 <input type="hidden" name="action" value="<?php echo esc_attr($action) ?>" /> 61 <input type="hidden" name="cat_ID" value="<?php echo esc_attr($category->term_id) ?>" /> 62 62 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field($nonce_action); ?> 63 63 <table class="form-table"> 64 64 <tr class="form-field form-required"> 65 65 <th scope="row" valign="top"><label for="name"><?php _e('Link Category name') ?></label></th> 66 <td><input name="name" id="name" type="text" value="<?php echo attr($category->name); ?>" size="40" aria-required="true" /></td>66 <td><input name="name" id="name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /></td> 67 67 </tr> 68 68 <tr class="form-field"> 69 69 <th scope="row" valign="top"><label for="slug"><?php _e('Link Category slug') ?></label></th> 70 <td><input name="slug" id="slug" type="text" value="<?php echo attr(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br />70 <td><input name="slug" id="slug" type="text" value="<?php echo esc_attr(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br /> 71 71 <?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 72 72 </tr> … … 76 76 </tr> 77 77 </table> 78 <p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo attr($submit_text) ?>" /></p>78 <p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo esc_attr($submit_text) ?>" /></p> 79 79 <?php do_action('edit_link_category_form', $category); ?> 80 80 </form>
Note: See TracChangeset
for help on using the changeset viewer.