Changeset 1273 for trunk/wp-admin/post.php
- Timestamp:
- 05/14/2004 08:38:34 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1266 r1273 62 62 } 63 63 $post_status = $_POST['post_status']; 64 if (empty($post_status)) $post_status = get_settings('default_post_status');64 if (empty($post_status)) $post_status = 'draft'; 65 65 $comment_status = $_POST['comment_status']; 66 66 if (empty($comment_status)) $comment_status = get_settings('default_comment_status'); … … 134 134 $location = 'post.php'; 135 135 } 136 if ( '' != $_POST['advanced'])136 if ( '' != $_POST['advanced'] || isset($_POST['save']) ) 137 137 $location = "post.php?action=edit&post=$post_ID"; 138 138 … … 725 725 } 726 726 //set defaults 727 $post_status = get_settings('default_post_status');727 $post_status = 'draft'; 728 728 $comment_status = get_settings('default_comment_status'); 729 729 $ping_status = get_settings('default_ping_status');
Note: See TracChangeset
for help on using the changeset viewer.