Make WordPress Core


Ignore:
Timestamp:
06/10/2014 02:13:52 PM (9 years ago)
Author:
wonderboymusic
Message:

wptexturize() should handle apostrophes before primes.

Props nacin, miqrogroove.
Fixes #22823.

File:
1 edited

Legend:

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

    r28721 r28725  
    501501            ),
    502502            array(
    503                 "word 99'word",
    504                 "word 99′word",
     503                "word 99'word", // Not a prime anymore. Apostrophes get priority.
     504                "word 99’word",
    505505            ),
    506506            array(
     
    509509            ),
    510510            array(
    511                 "word99'word",
    512                 "word99′word",
     511                "word99'word", // Not a prime anymore.
     512                "word99’word",
    513513            ),
    514514        );
Note: See TracChangeset for help on using the changeset viewer.