#25168 closed enhancement (wontfix)
Include scheduled posts in "Add link" dialog
Reported by: | thewanderingbrit | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.6 |
Component: | Editor | Keywords: | has-patch |
Focuses: | Cc: |
Description
I schedule my posts well in advance to publish in the future, so when I write a new article and I want to link to one of those articles that has not yet been published, but that is scheduled to post, they are not included in the "add link" dialog that comes up in the editor.
I would like to add scheduled posts to the query so that when I want to reference a post that has been written and is scheduled to publish, I can do so before waiting until its published without having to manually retrieve the URL and title.
Attachments (1)
Change History (11)
#2
@
11 years ago
OK, I found the function for the query that shows links in the "Insert/Edit link" window. I've tested and attached my patch, and now I'm just hoping it gets included!
#5
@
11 years ago
- Keywords ux-feedback removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
I don't think this is good default behavior - I could see somebody linking to something set for the future but publishing the post right then, thus linking to something that 404s. I can understand this being something a specific site might want, though, so a query args filter seems warranted: #18042.
#6
@
11 years ago
A query args filter would be a good start, but what about if future dates were in some way highlighted, such as if they were shown in red, or the word FUTURE was added next to them?
#7
@
11 years ago
That sounds like something that's specific to the use case - it already shows a date; I don't know what it shows if it's a scheduled post.
This is my attempt to perform my first WordPress patch. I've got everything installed and I think I know generally what I need to do, but I need a little guidance! I don't know how to find the file to edit which lists the posts in the "Insert/edit link" window to add scheduled posts to the query.
Perhaps someone can help point me in the right direction? I'd really like this to be my ticket and my first patch and want to see the process through from beginning to end.
Thanks