Use wpdb::insert() and update(). see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -254,7 +254,7 @@ require (ABSPATH . WPINC . '/classes.php');
|
||||
$db_field_types = array( 'post_author' => '%d', 'post_parent' => '%d', 'menu_order' => '%d', 'term_id' => '%d', 'term_group' => '%d', 'term_taxonomy_id' => '%d',
|
||||
'parent' => '%d', 'count' => '%d','object_id' => '%d', 'term_order' => '%d', 'ID' => '%d', 'commment_ID' => '%d', 'comment_post_ID' => '%d', 'comment_parent' => '%d',
|
||||
'user_id' => '%d', 'link_id' => '%d', 'link_owner' => '%d', 'link_rating' => '%d', 'option_id' => '%d', 'blog_id' => '%d', 'meta_id' => '%d', 'post_id' => '%d',
|
||||
'user_status' => '%d', 'umeta_id' => '%d');
|
||||
'user_status' => '%d', 'umeta_id' => '%d', 'comment_karma' => '%d', 'comment_count' => '%d');
|
||||
|
||||
require_wp_db();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user