Ticket #9845: 9845.patch
File 9845.patch, 3.0 KB (added by , 16 years ago) |
---|
-
edit-category-form.php
50 50 <tr class="form-field form-required"> 51 51 <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th> 52 52 <td><input name="cat_name" id="cat_name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /><br /> 53 < ?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></td>53 <span class="description"><?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></span></td> 54 54 </tr> 55 55 <tr class="form-field"> 56 56 <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 57 57 <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo esc_attr(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br /> 58 < ?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>58 <span class="description"><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></span></td> 59 59 </tr> 60 60 <tr class="form-field"> 61 61 <th scope="row" valign="top"><label for="category_parent"><?php _e('Category Parent') ?></label></th> 62 62 <td> 63 63 <?php wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'category_parent', 'orderby' => 'name', 'selected' => $category->parent, 'hierarchical' => true, 'show_option_none' => __('None'))); ?><br /> 64 < ?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?>64 <span class="description"><?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></span> 65 65 </td> 66 66 </tr> 67 67 <tr class="form-field"> 68 68 <th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th> 69 69 <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea><br /> 70 < ?php _e('The description is not prominent by default, however some themes may show it.'); ?></td>70 <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 71 71 </tr> 72 72 </table> 73 73 <p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Category'); ?>" /></p>