Changeset 5563 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 05/27/2007 07:32:45 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r5560 r5563 34 34 $args['object_type'] = $object_type; 35 35 $wp_taxonomies[$taxonomy] = $args; 36 } 37 38 function wp_count_terms( $taxonomy ) { 39 global $wpdb; 40 41 return $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->term_taxonomy WHERE taxonomy = '$taxonomy'"); 36 42 } 37 43
Note: See TracChangeset
for help on using the changeset viewer.