#4583 closed defect (bug) (invalid)
WordPress allows empty post titles and post bodies on PUBLISH
Reported by: |
|
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)
#2
@
18 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.
there could always be a checkbox or WP setting to allow empty titles or not. that would be another way around it.