[wp-trac] [WordPress Trac] #29573: Hebrew post slug is not properly cut on Edit Post screen

WordPress Trac noreply at wordpress.org
Fri Nov 21 22:08:39 UTC 2014


#29573: Hebrew post slug is not properly cut on Edit Post screen
------------------------------------------+------------------
 Reporter:  KingYes                       |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.1
Component:  Permalinks                    |     Version:  4.0
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch fixed-minor commit  |     Focuses:
------------------------------------------+------------------

Comment (by ocean90):

 Maybe I'm missing something but: [attachment:29573.4.patch] includes `if (
 ! in_array( $charset, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) `
 which can be reduced to `'UTF-8' === $charset ` because of
 `_canonical_charset()`.

 We should do the same for  `_mb_substr()` and  `wp_check_invalid_utf8()`.

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


More information about the wp-trac mailing list