WordPress.org

Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#2390 closed defect (bug) (fixed)

posting blank title && blank content should not post anything

Reported by: skippy Owned by: markjaquith
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: Optimization Keywords: bg|has-patch bg|commit
Focuses: Cc:

Description

If both the title and the content are empty when publishing, we really ought not publish it.

Attachments (1)

2390.patch (92 bytes) - added by skippy 16 years ago.

Download all attachments as: .zip

Change History (5)

@skippy
16 years ago

#1 @skippy
16 years ago

  • Cc bg|has-patch added

#2 @davidhouse
16 years ago

  • Cc bg|has-patch removed
  • Keywords bg|has-patch added

#3 @markjaquith
16 years ago

  • Keywords bg|commit added
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

1

#4 @ryan
15 years ago

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

(In [4117]) Don't save if both title and content are empty. fixes #2390

Note: See TracTickets for help on using tickets.