#23623 closed defect (bug) (fixed)
Can't edit the content of a post with no title
| Reported by: | wonderboymusic | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Posts, Post Types | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
13 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
@
13 years ago
.2.diff removes "link" — if you don't have a title or content, there's nothing to wrap the link around.
#9
@
13 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.