Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#4583 closed defect (bug) (invalid)

WordPress allows empty post titles and post bodies on PUBLISH

Reported by: mike503 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.2.1
Component: Administration Keywords: empty post titles
Focuses: Cc:


See this post: http://michaelshadle.com/2007/07/03/why-does-wordpress-allow-empty-post-titles-and-bodies-on-publish/

and this thread: http://wordpress.org/support/topic/124512

Basically, drafts should be allowed to have empty portions, but on publish, it should alert the user/not allow them to publish. The code is actually in post.php to check, but it is ANDed not ORed, whereas it should be ORed for publish.

Change History (3)

#1 @mike503
11 years ago

there could always be a checkbox or WP setting to allow empty titles or not. that would be another way around it.

#2 @matt
11 years ago

  • Resolution set to invalid
  • Status changed from new to closed

There is nothing wrong with either. People might have the content in a page template instead of the DB. They might be blogging in a way that doesn't use titles. Etc.

If you think adding an option would be an acceptable solution to a problem like this, you should check out a books called Designing the Obvious, Paradox of Choice, and Joel on Software.

#3 @Nazgul
11 years ago

  • Milestone 2.2.2 deleted
Note: See TracTickets for help on using tickets.