WordPress.org

Make WordPress Core

Ticket #32386

Attachments (5)

last_modified_date_1.diff (1.6 KB) - added by lastnode 6 years ago.
A patch that uses $post->post_modified for Drafts instead of $post->post_date.
32386.diff (941 bytes) - added by yoavf 6 years ago.
32386.1.diff (1.8 KB) - added by lastnode 6 years ago.
This bug should be fixed in excerpt mode as well now. Also made sure that Drafts are run through 'human_time_diff' as well.
32386.2.diff (1.7 KB) - added by lastnode 6 years ago.
Cleaned up code and fixed trailing spaces. Thank you for the pointers, Yoav!
32386.3.diff (2.5 KB) - added by obenland 6 years ago.

Download all attachments as: .zip