WordPress.org

Make WordPress Core

Ticket #12171: 12171.diff

File 12171.diff, 445 bytes (added by nacin, 8 years ago)
  • wp-admin/edit-tags.php

     
    329329</div>
    330330
    331331<?php
    332 if ( 'category' == $taxonomy )
    333         do_action('add_category_form_fields');
    334 else
     332if ( 'category' != $taxonomy )
    335333        do_action('add_tag_form_fields', $taxonomy);
    336334do_action('add_' . $taxonomy . '_form_fields', $taxonomy);
    337335?>