Make WordPress Core

Opened 4 years ago

Last modified 3 months ago

#56520 new defect (bug)

Searching words that include apostrophes don't always work in admin search

Reported by: lamisalhassanieh Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Hello,

If I enter a word that includes an apostrophe like this (’) into the posts search field, I get no results. While this (') works successfully.

This can be an issue if user copied texts from somewhere else like web pages or word documents and tried to search.

Change History (2)

#1 @sabernhardt
4 years ago

  • Component GeneralAdministration

Possibly the same issue reported long ago: #13178

#2 @awetz583
3 months ago

In testing, I found that by copying and pasting the word person’s in from a texturized page leads to a search query that looks like wp-admin/edit.php?s=person’s and it yields different results than if a straight quote is used in a search query that gets URL encoded like /wp-admin/edit.php?s=person%27s

Note: See TracTickets for help on using tickets.