Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#3097 closed defect (bug) (fixed)

#2390 and [4117] break ajax post meta and sometimes draft saving

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

Description

[4117] causes wp_insert_post() to bail if the title and content are empty.

Ajax post meta is broken: When meta data is added on a fresh post (i.e., one that has not yet been saved to the DB), ajax post meta creates an empty post onto which it attaches the meta data. This is no longer possible.

Saving drafts is sometimes broken: Suppose someone starts writing the excerpt but does not yet have a title nor anything in the post box. Saving it as a draft kills their work.

Attachments (1)

3097.diff (591 bytes) - added by mdawaffe 18 years ago.
post_title => "Draft created on $date at $time"

Download all attachments as: .zip

Change History (5)

#1 @ryan
18 years ago

[4259] for the excerpt issue. Not sure what to do about ajax post meta. Use a temporary title?

@mdawaffe
18 years ago

post_title => "Draft created on $date at $time"

#2 @mdawaffe
18 years ago

How's this?

3097.diff

  1. post_title => "Draft created on $date at $time"

#3 @mdawaffe
17 years ago

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

#4 @ryan
17 years ago

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

(In [4570]) Use temporary title when creating empty posts. Props mdawaffe. fixes #3097

Note: See TracTickets for help on using tickets.