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