Advertisements

upgrade_101

Definition:
function upgrade_101() {}

Execute changes made in WordPress 1.0.1.

Source code

function upgrade_101() {

	global $wpdb;



	// Clean up indices, add a few

	add_clean_index($wpdb->posts, 'post_name');

	add_clean_index($wpdb->posts, 'post_status');

	add_clean_index($wpdb->categories, 'category_nicename');

	add_clean_index($wpdb->comments, 'comment_approved');

	add_clean_index($wpdb->comments, 'comment_post_ID');

	add_clean_index($wpdb->links , 'link_category');

	add_clean_index($wpdb->links , 'link_visible');

}

3221

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: