[wp-trac] [WordPress Trac] #44296: Enable double-width space works as a separator in search query

WordPress Trac noreply at wordpress.org
Mon Jun 4 15:38:20 UTC 2018


#44296: Enable double-width space works as a separator in search query
--------------------------------------+------------------------------
 Reporter:  ryotsun                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Query                     |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by tenpura):

 The mbstring PHP extension might be unavailable, so
 {{{mb_convert_kana()}}} needs {{{function_exists()}}} check.

 I'm sure that ideographic space is legitimate as a search word separator
 in Japanese, but I'm not sure that it is treated exactly the same when it
 comes to search in other CJK or similar languages. If you are 100% certain
 about it, fine. If not, it might be safer to confirm it to
 [https://make.wordpress.org/polyglots/ polyglots community] to minimize
 possibilities of breaking something.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44296#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list