I am creating a plugin and have a problem,
this code gives my all months that post were added:
<select name="sdate" id="sdate">
<?php wp_get_archives('format=option'); ?>
</select>
the problem is that i dont get dates that only pages were added.
basicaly, i want dropdown thats gonna list every year+month (for example "September 2010") that something was added with value like "year-month" (for example "2010-05")
Something that you can see working on Wordpress Export page, but copied code is not working for me.