Changeset 6872
- Timestamp:
- 02/16/2008 04:24:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r6796 r6872 57 57 if ('' != $_POST['saveasprivate'] ) 58 58 $_POST['post_status'] = 'private'; 59 if ( '' != $_POST['publish'])59 if ( ( '' != $_POST['publish'] ) && ( $_POST['post_status'] != 'private' ) ) 60 60 $_POST['post_status'] = 'publish'; 61 61 if ('' != $_POST['advanced'] ) … … 255 255 if ('' != $_POST['saveasprivate'] ) 256 256 $_POST['post_status'] = 'private'; 257 if ( '' != $_POST['publish'])257 if ( ( '' != $_POST['publish'] ) && ( $_POST['post_status'] != 'private' ) ) 258 258 $_POST['post_status'] = 'publish'; 259 259 if ('' != $_POST['advanced'] )
Note: See TracChangeset
for help on using the changeset viewer.