Ticket #5815: pre_post_update_action-r6744.patch
| File pre_post_update_action-r6744.patch, 481 bytes (added by tellyworth, 8 months ago) |
|---|
-
wordpress/wp-includes/post.php
old new 1141 1141 $where = array( 'ID' => $post_ID ); 1142 1142 1143 1143 if ($update) { 1144 do_action( 'pre_post_update', $post_ID ); 1144 1145 $wpdb->update( $wpdb->posts, $data, $where ); 1145 1146 } else { 1146 1147 $data['post_mime_type'] = stripslashes( $post_mime_type ); // This isn't in the update
