Fix name attribute in export. props ocean90, see [16975], fixes #15901.

git-svn-id: https://develop.svn.wordpress.org/trunk@17063 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-19 20:56:38 +00:00
parent acd961d4f8
commit 752808cbd3

View File

@ -170,7 +170,7 @@ function export_date_options() {
<label><?php _e( 'Authors:' ); ?></label>
<?php
$authors = $wpdb->get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'page'" );
wp_dropdown_users( array( 'include' => $authors, 'name' => 'post_author', 'multi' => true, 'show_option_all' => __('All') ) );
wp_dropdown_users( array( 'include' => $authors, 'name' => 'page_author', 'multi' => true, 'show_option_all' => __('All') ) );
?>
</li>
<li>