Changeset 5967
- Timestamp:
- 08/29/2007 05:24:42 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r5796 r5967 286 286 $post_ID = wp_insert_post( $_POST ); 287 287 288 if ( empty($post_ID) ) 289 return 0; 290 288 291 add_meta( $post_ID ); 289 292 -
trunk/wp-admin/post.php
r5875 r5967 38 38 if ( isset($_POST['save']) ) 39 39 $location = "post.php?action=edit&post=$post_ID"; 40 41 if ( empty($post_ID) ) 42 $location = 'post-new.php'; 40 43 41 44 wp_redirect($location);
Note: See TracChangeset
for help on using the changeset viewer.