Changeset 12798 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 01/22/2010 07:30:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/taxonomy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r12791 r12798 195 195 $args['object_type'] = (array) $object_type; 196 196 $wp_taxonomies[$taxonomy] = (object) $args; 197 198 // register callback handling for metabox 199 add_filter('wp_ajax_add-'.$taxonomy, '_wp_ajax_add_hierarchical_term'); 197 200 } 198 201 … … 1574 1577 * 1575 1578 * The way this works is that if the taxonomy that the term belongs to is 1576 * h eirarchical and has a parent, it will append that parent to the $slug.1579 * hierarchical and has a parent, it will append that parent to the $slug. 1577 1580 * 1578 1581 * If that still doesn't return an unique slug, then it try to append a number
Note: See TracChangeset
for help on using the changeset viewer.