Hello,
Okay, so I have changed both wp-admin/menu.php and wp-admin/link-manager.php files, and now I need to change wpmu-functions.php. Correct?
Here is the code that I found in wpmu-functions.php that I believe I need to change. But my question is WHAT exactly do I need to change? Every place where blogroll is mentioned? Change that?
-----------------------------------------------------------
// Default category
$wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename, category_count, category_description) VALUES ('0', '".addslashes(__('Uncategorized'))."', '".sanitize_title(__('Uncategorized'))."', 1, '')");
$blogroll_id = $wpdb->get_var( "SELECT cat_ID FROM {$wpdb->sitecategories} WHERE category_nicename = 'blogroll'" );
if( $blogroll_id == null ) {
$wpdb->query( "INSERT INTO " . $wpdb->sitecategories . " (cat_ID, cat_name, category_nicename, last_updated) VALUES (0, 'Blogroll', 'blogroll', NOW())" );
$blogroll_id = $wpdb->insert_id;
}
$wpdb->query("INSERT INTO $wpdb->categories (cat_ID, cat_name, category_nicename, link_count, category_description) VALUES ('{$blogroll_id}', '".addslashes(__('Blogroll'))."', '".sanitize_title(__('Blogroll'))."', 2, '')");
$wpdb->query("INSERT INTO $wpdb->link2cat (link_id, category_id) VALUES (1, $blogroll_id)");
$wpdb->query("INSERT INTO $wpdb->link2cat (link_id, category_id) VALUES (2, $blogroll_id)");
$wpdb->query("INSERT INTO $wpdb->link2cat (link_id, category_id) VALUES (3, $blogroll_id)");
-----------------------------------------------------------
Another question is whether or not I change where it says $blogroll_id to $link_id, or do I just leave that alone, and only mess with the wording directly in single quotes?
Thanks!
Christian
Thanks!