Changeset 2407
- Timestamp:
- 03/04/2005 08:43:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r2358 r2407 140 140 141 141 $result = $wpdb->query($sql); 142 143 wp_set_post_cats('', $ID, $post_category); 142 $rows_affected = $wpdb->rows_affected; 143 144 wp_set_post_cats('', $ID, $post_category) 144 145 145 146 do_action('edit_post', $ID); 146 147 147 return $ wpdb->rows_affected;148 return $rows_affected; 148 149 } 149 150
Note: See TracChangeset
for help on using the changeset viewer.