Post: how to set created date after post has been published [closed]

It’s recommended to use the latest version of WordPress.

As far as I understand this should have been fixed, for drafts, many years ago, see e.g. ticket #8978

I quickly tested this on a vanilla install version 4.6.1 and a draft seems to be published at the current date-time.

There are hooks that can be used to fix this, but make sure you don’t have a plugin or theme that are causing this.

You can also edit the published date directly:

edit published date

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)