#23623 closed defect (bug) (fixed)
Can't edit the content of a post with no title
Reported by: | wonderboymusic | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
- Add new post screen:
post-new.php
- Don't enter a title, enter some arbitrary content: "This is a post."
- Click "Publish"
- Erase the content, then press Update
*Spoiler alert: The content is still there*
- Add a title
- Repeat steps 3 & 4
*Works*
This is important because some post formats don't need a title
Attachments (2)
Change History (11)
#6
in reply to:
↑ 2
@
11 years ago
Replying to azaozz:
Thinking this should go the other way: the default posts can be without a title, but shouldn't be without content, i.e. saving or publishing a post of type 'post' or 'page' without content should be rejected.
Thoroughly disagree. I use no-content posts all the time (say, to act as a page stub for a plugin to act upon).
#7
@
11 years ago
.2.diff
removes "link" — if you don't have a title or content, there's nothing to wrap the link around.
#8
@
11 years ago
- Owner set to markjaquith
- Resolution set to fixed
- Status changed from new to closed
In 23986:
#9
@
11 years ago
I use no-content posts all the time (say, to act as a page stub for a plugin to act upon).
Right, have used that too. Wondering if we need to be looking at the post format meta fields when determining whether a post is "empty". For example: saving a video post with empty wp_format_video
meta and no title or content.
Thinking this should go the other way: the default posts can be without a title, but shouldn't be without content, i.e. saving or publishing a post of type 'post' or 'page' without content should be rejected.