Ticket #4583 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

WordPress allows empty post titles and post bodies on PUBLISH

Reported by: mike503 Assigned to: 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

07/03/07 23:08:25 changed by mike503

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

07/04/07 00:01:09 changed by matt

  • 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.

07/06/07 15:33:57 changed by Nazgul

  • milestone deleted.