Uma área de pesquisa sobre o WordPress para devs e autores do tema



upgrade_101 ›

Desde1.0.1
Obsoleton/a
upgrade_101 ( Sem parâmetros )
Definido em:
Codex:

Execute changes made in WordPress 1.0.1.



Fonte

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' );
}