Make WordPress Core


Ignore:
Timestamp:
04/02/2010 05:07:30 PM (14 years ago)
Author:
ryan
Message:

Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r13925 r13946  
    295295    $args['object_type'] = (array) $object_type;
    296296    $wp_taxonomies[$taxonomy] = (object) $args;
     297
     298    // register callback handling for metabox
     299    add_filter('wp_ajax_add-'.$taxonomy, '_wp_ajax_add_hierarchical_term');
    297300}
    298301
Note: See TracChangeset for help on using the changeset viewer.