[wp-trac] [WordPress Trac] #31328: Emoji in a slug fails to display

WordPress Trac noreply at wordpress.org
Tue Mar 10 07:07:46 UTC 2015


#31328: Emoji in a slug fails to display
----------------------------------------+-----------------------------
 Reporter:  kraftbj                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.2
Component:  Formatting                  |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  administration
----------------------------------------+-----------------------------

Comment (by pento):

 [attachment:31328.3.diff] fixes this by adding `$` as an allowed character
 in `sanitize_title_with_dashes()`. I also changed a couple of unit tests,
 because I don't know why the term insertion was expected to fail.

 @boone, @SergeyBiryukov, @wonderboymusic: Could you please have a look at
 this patch and tell me what I'm missing?

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


More information about the wp-trac mailing list