WordPress.org

Make WordPress Core

Ticket #11285: 11285-add_category_form_fields.patch

File 11285-add_category_form_fields.patch, 634 bytes (added by nacin, 4 years ago)

add_category_form_fields action

  • categories.php

     
    282282        <textarea name="category_description" id="category_description" rows="5" cols="40"></textarea> 
    283283    <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> 
    284284</div> 
     285<?php do_action('add_category_form_fields', $category); ?> 
    285286 
    286287<p class="submit"><input type="submit" class="button" name="submit" value="<?php esc_attr_e('Add Category'); ?>" /></p> 
    287288<?php do_action('edit_category_form', $category); ?>