diff --git src/wp-admin/export.php src/wp-admin/export.php
index e073a24f29..1955f2b42e 100644
|
|
function export_date_options( $post_type = 'post' ) { |
160 | 160 | } |
161 | 161 | |
162 | 162 | $month = zeroise( $date->month, 2 ); |
163 | | echo '<option value="' . $date->year . '-' . $month . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>'; |
| 163 | echo '<option value="' . esc_attr( $date->year ) . '-' . esc_attr( $month ) . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>'; |
164 | 164 | } |
165 | 165 | } |
166 | 166 | ?> |