Changeset 1656 for trunk/wp-admin/post.php
- Timestamp:
- 09/14/2004 12:41:09 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1644 r1656 67 67 68 68 if (empty($post_status)) $post_status = 'draft'; 69 // Double-check 70 if ( 'publish' == $post_status && 1 == $user_level && 2 != get_option('new_users_can_blog') ) 71 $post_status = 'draft'; 69 72 $comment_status = $_POST['comment_status']; 70 73 if (empty($comment_status)) $comment_status = get_settings('default_comment_status'); … … 323 326 324 327 if (isset($_POST['publish'])) $post_status = 'publish'; 328 // Double-check 329 if ( 'publish' == $post_status && 1 == $user_level && 2 != get_option('new_users_can_blog') ) 330 $post_status = 'draft'; 325 331 326 332 if (($user_level > 4) && (!empty($_POST['edit_date']))) {
Note: See TracChangeset
for help on using the changeset viewer.