Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -160,7 +160,12 @@ function export_date_options( $post_type = 'post' ) {
|
||||
}
|
||||
|
||||
$month = zeroise( $date->month, 2 );
|
||||
echo '<option value="' . $date->year . '-' . $month . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>';
|
||||
|
||||
printf(
|
||||
'<option value="%1$s">%2$s</option>',
|
||||
esc_attr( $date->year . '-' . $month ),
|
||||
$wp_locale->get_month( $month ) . ' ' . $date->year
|
||||
);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user