[wp-trac] [WordPress Trac] #31499: Trim non-breaking spaces from URLs

WordPress Trac noreply at wordpress.org
Fri Mar 20 00:07:54 UTC 2015


#31499: Trim non-breaking spaces from URLs
--------------------------+------------------
 Reporter:  pento         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Canonical     |     Version:  2.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by valendesigns):

 Wouldn't `preg_replace` do a search and replace for all non-breaking
 spaces, not just trim the last one?

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


More information about the wp-trac mailing list