mirror of
git://develop.git.wordpress.org/
synced 2025-04-10 23:22:04 +02:00
Introduce `get_post_timestamp()` to retrieve post published or modified time as a Unix timestamp. Use `get_post_datetime()` in `get_post_time()` and `get_post_modified_time()` to return correct GMT time if default timezone is changed from UTC. Props Rarst, johnregan3. Fixes #25002. git-svn-id: https://develop.svn.wordpress.org/trunk@46154 602fd350-edb4-49c9-b593-d223f7449a82