Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1795 closed defect (bug) (fixed)

404 on preview of future dated posts

Reported by: donncha's profile donncha Owned by: markjaquith's profile markjaquith
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: bg|has-patch bg|squashed
Focuses: Cc:

Description

Future dated posts won't preview in the "Write Post" preview window.
Maybe we need to make a change so that the post author can see a post, regardless of what date it's to be published on?

Attachments (2)

view-future-dated.diff (1.9 KB) - added by davidhouse 19 years ago.
view-future-dated.2.diff (1.9 KB) - added by davidhouse 19 years ago.

Download all attachments as: .zip

Change History (8)

#1 @ryan
19 years ago

I think we should show it only in a preview context, and we should show it to any who has edit capabilities for that post.

#2 @davidhouse
19 years ago

Ignore that attachment. I just realised how it could be done better.

#3 @davidhouse
19 years ago

Right. That second attachment should work. Test it out!

If you're wondering what all that $is_preview stuff is, it's to do with the preview notice thread I started on wp-hackers: http://comox.textdrive.com/pipermail/wp-hackers/2005-October/003087.html

#4 @markjaquith
19 years ago

  • Keywords bg|has-patch bg|2nd-opinion added
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Seems to work as advertised!

#5 @mikelietz
19 years ago

  • Keywords bg|squashed added; bg|2nd-opinion removed

Works for me!

#6 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3001]) Preview future dated posts. Props davidhouse. fixes #1795

Note: See TracTickets for help on using tickets.