Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #14490, comment 12


Ignore:
Timestamp:
10/23/2016 04:41:16 PM (8 years ago)
Author:
jackreichert
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14490, comment 12

    v1 v2  
    22
    33Categories I tried with:
    4 `
    54        echo get_cat_ID( "Jack’s cat" ); # using a single comma quotation mark
    65        echo get_cat_ID( "Someone's cat" ); # using an apostrophe
    76        echo get_cat_ID( "“I like spaghetti”" ); # using left and right double turned comma quotation mark
    87        echo get_cat_ID( "˓ Modifier Letter Centered Left Half Ring" );
    9 `
    108
    119One thing I noticed was that the apostrophe was being translated to a single comma quotation mark here `/wp-admin/edit-tags.php?taxonomy=category`. If I called it with get_cat_ID as a single comma quotation mark it came back 0 but if I called it as an apostrophe (what I had set it up as) it was fine.