WordPress.org

Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#1795 closed defect (bug) (fixed)

404 on preview of future dated posts

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

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 14 years ago.
view-future-dated.2.diff (1.9 KB) - added by davidhouse 14 years ago.

Download all attachments as: .zip

Change History (8)

#1 @ryan
14 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
14 years ago

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

#3 @davidhouse
14 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
14 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
14 years ago

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

Works for me!

#6 @ryan
14 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.