Changeset 2959 for trunk/wp-admin/admin-db.php
- Timestamp:
- 10/20/2005 08:50:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-db.php
r2947 r2959 108 108 109 109 if (!$update) { 110 $wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename, category_description, category_parent) VALUES ('0', '$cat_name', '$category_nicename', '$category_description', '$cat ')");110 $wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename, category_description, category_parent) VALUES ('0', '$cat_name', '$category_nicename', '$category_description', '$category_parent')"); 111 111 $cat_ID = $wpdb->insert_id; 112 112 } else {
Note: See TracChangeset
for help on using the changeset viewer.