Make WordPress Core

Opened 10 years ago

Last modified 8 years ago

#37829 new defect (bug)

Problem when adding a link and searching published articles

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

Description

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 Bug.mov​ (958.2 KB ) - added by Djibs13 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @helen
10 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
8 years ago

  • Priority normal → low
  • Version 4.6 → 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.