Make WordPress Core

Changeset 11608


Ignore:
Timestamp:
06/19/2009 06:56:28 PM (15 years ago)
Author:
westi
Message:

Make it easier for plugins to add extra fields to the Edit Category/Tag forms. Fixes #8831 for trunk props Denis-de-Bernardy

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r11511 r11608  
    7070            <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>
    7171        </tr>
     72        <?php do_action('edit_category_form_fields', $category); ?>
    7273    </table>
    7374<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Category'); ?>" /></p>
  • trunk/wp-admin/edit-link-category-form.php

    r11204 r11608  
    7575            <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td>
    7676        </tr>
     77        <?php do_action('edit_link_category_form_fields', $category); ?>
    7778    </table>
    7879<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo esc_attr($submit_text) ?>" /></p>
  • trunk/wp-admin/edit-tag-form.php

    r11511 r11608  
    4040            <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>
    4141        </tr>
     42        <?php do_action('edit_tag_form_fields', $tag); ?>
    4243    </table>
    4344<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Tag'); ?>" /></p>
Note: See TracChangeset for help on using the changeset viewer.