Ticket #13473: 13473.patch
File 13473.patch, 771 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/post.php
96 96 $post_data['post_status'] = $previous_status; 97 97 98 98 if (!isset( $post_data['comment_status'] )) 99 $post_data['comment_status'] = 'closed';99 $post_data['comment_status'] = get_option('default_comment_status'); 100 100 101 101 if (!isset( $post_data['ping_status'] )) 102 $post_data['ping_status'] = 'closed';102 $post_data['ping_status'] = get_option('default_ping_status'); 103 103 104 104 foreach ( array('aa', 'mm', 'jj', 'hh', 'mn') as $timeunit ) { 105 105 if ( !empty( $post_data['hidden_' . $timeunit] ) && $post_data['hidden_' . $timeunit] != $post_data[$timeunit] ) {