Update posts.php

Allow users to edit the post date after publishing.
Merge pull request #556 from tovic/patch-7

Update posts.php