Ticket #4583 (closed defect (bug): invalid)

Opened 5 years ago

Last modified 2 years ago

WordPress allows empty post titles and post bodies on PUBLISH

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

Description

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

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

comment:2   matt5 years ago

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

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.

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