Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 11 months ago

#3016 closed defect (bug) (fixed)

1970 time for page drafts

Reported by: markjaquith's profile markjaquith Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Page drafts show a 1970 last-updated date on the manage pages screen. It should say "draft" or "never" and visually distinguish the page.

http://txfx.net/files/screenshots/screenshot-2006-08-09_102616.png

Attachments (1)

3016.diff (1.2 KB) - added by Nazgul 18 years ago.

Download all attachments as: .zip

Change History (7)

#1 @ryan
18 years ago

In query.php, when previewing drafts we set the timestamp to the current time. Maybe we can do something similar here.

#2 @ryan
18 years ago

When did we start showing drafts in the manage posts list anyway? They used to show only in the "Your drafts" field at the top, didn't they?

#3 @masquerade
18 years ago

Posts still only show in the Your Drafts at the top, its Page Drafts that have the time issue. When the DB was changed to allow for them we didn't make the necessary changes to the page display code for it.

#4 @markjaquith
18 years ago

Eh, I don't mind them being there. If the page parent is set, they'll show up in the proper hierarchy. We just need to indicate that it is a draft and remove the date display.

@Nazgul
18 years ago

#5 @Nazgul
18 years ago

  • Keywords has-patch added

Added a patch which hides the last modified field if the page is still in draft.

#6 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.