Make WordPress Core

Ticket #16645: 16645.2.patch

File 16645.2.patch, 763 bytes (added by ocean90, 13 years ago)
  • src/wp-admin/includes/class-wp-posts-list-table.php

     
    10841084                        } ?>
    10851085                        <input type="hidden" name="post_view" value="<?php echo esc_attr( $m ); ?>" />
    10861086                        <input type="hidden" name="screen" value="<?php echo esc_attr( $screen->id ); ?>" />
     1087                        <?php if ( ! $bulk && ! post_type_supports( $screen->post_type, 'author' ) ) { ?>
     1088                                <input type="hidden" name="post_author" value="<?php echo esc_attr( $post->post_author ); ?>" />
     1089                        <?php } ?>
    10871090                        <span class="error" style="display:none"></span>
    10881091                        <br class="clear" />
    10891092                </p>