Opened 7 years ago
Closed 7 years ago
#42664 closed defect (bug) (fixed)
Editor link autocomplete suggestions: no fallback title displayed for posts with no title
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-screenshots has-patch fixed-major |
Focuses: | Cc: |
Description
When inserting a link in a post, the links suggestions list doesn't show any fallback title for posts with no title. There's just an empty space followed by the post date:
Worth noting the "Link options" modal does display a fallback title for that same post, and it's the string (no title)
already used in other places in core:
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
42664.diff is a first pass, I guess it is necessary to check for
window.wpLinkL10n
as that check is done in other parts too, but I'm not so sure why. Any feedback welcome.