Fixing a bug in the upload function that didn't respect the locale
settings of Wordpress. The Bonus select statement now also determines
and uses the same date as the insert statement mentioned.
Merge branch 'master' of blag:notepost