Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#37829 new defect (bug)

Problem when adding a link and searching published articles

Reported by: djibs13's profile Djibs13 Owned by:
Milestone: Awaiting Review Priority: low
Severity: normal Version: 4.5
Component: Editor Keywords: needs-patch
Focuses: Cc:


With WordPress 4.6 (was already in 4.5 actually), there’s a problem when you wanna put a link and search published articles. Here, if you search “iOS 9“, every article with iOS 9 in the title show up. Although, if you search “iOS 9.3.5“, nothing is found. Same thing with an apostrophe and maybe other punctuations.

Attachments (1)

WordPress (958.2 KB) - added by Djibs13 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @helen
8 years ago

  • Keywords needs-patch added

I actually noticed this earlier on Make/Core, making links to things about 4.7. Thanks for the ticket!

#2 @desrosj
5 years ago

  • Priority changed from normal to low
  • Version changed from 4.6 to 4.5

I did some testing. This has been fixed in the new block editor, but is still happening in the Classic Editor.

The problem happens anytime a period is used in the search field. Even when text follows the ., an AJAX call is not initiated. Looks to have been introduced in [36384] (see #33301) and the line causing this is here.

Since this only affects the Classic Editor, I'm marking as low priority. But I don't think it would hurt to fix this bug if someone wants to own it.

Note: See TracTickets for help on using tickets.