Changeset 10906 for trunk/wp-admin/includes/taxonomy.php
- Timestamp:
- 04/10/2009 09:18:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/taxonomy.php
r10905 r10906 21 21 function category_exists($cat_name, $parent = 0) { 22 22 $id = is_term($cat_name, 'category', $parent); 23 global $wpdb;24 error_log(var_export($wpdb->queries, true));25 23 if ( is_array($id) ) 26 24 $id = $id['term_id'];
Note: See TracChangeset
for help on using the changeset viewer.