WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 10 months ago

#36840 closed defect (bug) (reported-upstream)

Link widget sort of recognizes email addresses

Reported by: steve@… Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.2
Component: Editor Keywords:
Focuses: Cc:

Description

If I have the text

test@…

and select it,then click the link button, the field is filled in with

mailto:test@…

but if I highlight "mail me" and click the link, then enter test@…, it's converted to http://test@example.com

It seems to me that the link already knows how to recognize an email address, but that's not applied when the email address is typed in.

Change History (3)

#2 @Presskopp
4 years ago

  • Keywords needs-patch added

#3 @desrosj
10 months ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Hi @stevesterndatacom,

First, my apologies that it took so long for this ticket to receive a response!

Since this ticket was opened, a lot has changed. Most notably, the introduction of the new block editor. The Classic Editor experience (which is what this ticket refers to) is no longer receiving enhancements, and high priority bug fixes only. Because there does not seem to be any other reports for this issue, I am going to close this ticket out.

I have documented this reported behavior on an issue in the Gutenberg repository. It appears that the block editor does not currently detect an email in the text when highlighting and clicking link, and this bug does exist when entering an email into the link field and not including mailto: as a prefix.

Note: See TracTickets for help on using tickets.