Make WordPress Core


Ignore:
Timestamp:
03/11/2015 10:54:49 PM (11 years ago)
Author:
pento
Message:

Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji.

Props pento, SergeyBiryukov and boonebgorges.

Fixes #31328

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/UrlEncodedToEntities.php

    r25002 r31734  
    99         */
    1010        function test_convert_urlencoded_to_entities( $u_urlencoded, $entity ) {
    11                 $this->assertEquals( $entity, preg_replace_callback('/\%u([0-9A-F]{4})/', '_convert_urlencoded_to_entities', $u_urlencoded ), $entity );
     11                $this->assertEquals( $entity, preg_replace_callback('/\%u([0-9A-F]{4,5})/', '_convert_urlencoded_to_entities', $u_urlencoded ), $entity );
    1212        }
    1313
Note: See TracChangeset for help on using the changeset viewer.