WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 months ago

#37829 new defect (bug)

Problem when adding a link and searching published articles

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

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 3 years ago.

Download all attachments as: .zip

Change History (3)

@Djibs13
3 years ago

#1 @helen
3 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
6 months 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.