Changeset 6363 for trunk/wp-admin/includes/taxonomy.php
- Timestamp:
- 12/06/2007 06:37:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/taxonomy.php
r6329 r6363 41 41 42 42 function wp_delete_category($cat_ID) { 43 global $wpdb;44 45 43 $cat_ID = (int) $cat_ID; 46 44 $default = get_option('default_category'); … … 54 52 55 53 function wp_insert_category($catarr, $wp_error = false) { 56 global $wpdb;57 58 54 extract($catarr, EXTR_SKIP); 59 55 … … 96 92 97 93 function wp_update_category($catarr) { 98 global $wpdb;99 100 94 $cat_ID = (int) $catarr['cat_ID']; 101 95 … … 120 114 121 115 function get_tags_to_edit( $post_id ) { 122 global $wpdb;123 124 116 $post_id = (int) $post_id; 125 117 if ( !$post_id )
Note: See TracChangeset
for help on using the changeset viewer.