Changes between Version 1 and Version 2 of Ticket #14490, comment 12
- Timestamp:
- 10/23/2016 04:41:16 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14490, comment 12
v1 v2 2 2 3 3 Categories I tried with: 4 `5 4 echo get_cat_ID( "Jack’s cat" ); # using a single comma quotation mark 6 5 echo get_cat_ID( "Someone's cat" ); # using an apostrophe 7 6 echo get_cat_ID( "“I like spaghetti”" ); # using left and right double turned comma quotation mark 8 7 echo get_cat_ID( "˓ Modifier Letter Centered Left Half Ring" ); 9 `10 8 11 9 One 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.