#35709 closed defect (bug) (fixed)
Front end: created post with empty title is shown with number instead of title
Reported by: | antonrinas | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | Widgets | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
STEPS TO REPRODUCE:
- Log in as admin.
- Go to Add New Post page.
- Leave title empty. Fill content with some text. Click "Publish".
- Click "View post" in confirmation message.
EXPECTED RESULT:
Post is shown in "Recent posts" without title.
ACTUAL RESULT:
Post is shown in "Recent posts" with number (post ID) instead of empty title (see annex).
Attachments (4)
Change History (16)
#2
@
9 years ago
I agree with you. If post has no title and it was published it is better to show it on front end as "(no title)" like it's implemented on back end.
#3
@
9 years ago
Seems (no title)
is looking better instead of post id. I agree with @adamsilverstein @antonrinas.
Added patch for the same.
#8
@
7 years ago
- Component changed from Posts, Post Types to Widgets
- Milestone changed from Awaiting Review to 4.9
- Owner set to afercia
- Status changed from new to assigned
- Version 4.4.1 deleted
#10
@
7 years ago
- Keywords commit added
- Version set to 2.3
Looks good to me. The ID has been output since WordPress 2.3.
Note: See
TracTickets for help on using
tickets.
@antonrinas thanks for the bug report.
I don't understand your expected result Post is shown in "Recent posts" without title. - since the recent widget is displaying titles as a list, wouldn't this be a blank list item? Users need to click whatever shows to find the post, I don't think a 'blank' link makes sense!
Showing the post id is confusing, perhaps we could instead show some placeholder text such as '(no title)' which we currently show on the post list page when a post has a blank title? What do you think?