Ticket #16645: 16645.patch
| File 16645.patch, 1.4 KB (added by , 13 years ago) |
|---|
-
src/wp-admin/includes/class-wp-posts-list-table.php
1057 1057 } ?> 1058 1058 <input type="hidden" name="post_view" value="<?php echo esc_attr( $m ); ?>" /> 1059 1059 <input type="hidden" name="screen" value="<?php echo esc_attr( $screen->id ); ?>" /> 1060 <?php if ( ! $bulk && ! post_type_supports( $screen->post_type, 'author' ) ) { ?> 1061 <input type="hidden" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" /> 1062 <?php } ?> 1060 1063 <span class="error" style="display:none"></span> 1061 1064 <br class="clear" /> 1062 1065 </p> -
src/wp-admin/includes/post.php
53 53 $post_data['to_ping'] = $post_data['trackback_url']; 54 54 55 55 if ( !isset($post_data['user_ID']) ) 56 $post_data['user_ID'] = $GLOBALS['user_ID'];56 $post_data['user_ID'] = get_current_user_id(); 57 57 58 if (!empty ( $post_data['post_author_override'] ) ) { 58 if (!empty ( $post_data['post_author_override'] ) ) { // post_author_meta_box() 59 59 $post_data['post_author'] = (int) $post_data['post_author_override']; 60 60 } else { 61 61 if (!empty ( $post_data['post_author'] ) ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)