WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 5 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:

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 (3)

comment:1 mike5037 years ago

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

comment:2 matt7 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.

comment:3 Nazgul7 years ago

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