Changeset 10858
- Timestamp:
- 04/01/2009 04:10:14 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r10852 r10858 69 69 comment_agent varchar(255) NOT NULL default '', 70 70 comment_type varchar(20) NOT NULL default '', 71 comment_parent bigint(20) NOT NULL default '0',71 comment_parent bigint(20) unsigned NOT NULL default '0', 72 72 user_id bigint(20) unsigned NOT NULL default '0', 73 73 PRIMARY KEY (comment_ID), … … 86 86 link_description varchar(255) NOT NULL default '', 87 87 link_visible varchar(20) NOT NULL default 'Y', 88 link_owner bigint(20) NOT NULL default '1',88 link_owner bigint(20) unsigned NOT NULL default '1', 89 89 link_rating int(11) NOT NULL default '0', 90 90 link_updated datetime NOT NULL default '0000-00-00 00:00:00', -
trunk/wp-includes/post.php
r10851 r10858 1160 1160 wp_delete_post_revision( $revision_id ); 1161 1161 1162 do_action('deleted_post', $postid);1163 1164 1162 // Point all attachments to this post up one level 1165 1163 $wpdb->update( $wpdb->posts, $parent_data, $parent_where + array( 'post_type' => 'attachment' ) ); … … 1181 1179 clean_post_cache($postid); 1182 1180 } 1181 1182 do_action('deleted_post', $postid); 1183 1183 1184 1184 return $post;
Note: See TracChangeset
for help on using the changeset viewer.