[wp-trac] [WordPress Trac] #14490: function "get cat ID" fails if category name has an apostrophe

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 19 13:56:22 UTC 2011


#14490: function "get cat ID" fails if category name has an apostrophe
-------------------------------+---------------------
 Reporter:  iamronen           |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Taxonomy           |     Version:  3.1
 Severity:  minor              |  Resolution:  fixed
 Keywords:  reporter-feedback  |
-------------------------------+---------------------
Changes (by hakre):

 * keywords:  reporter-feedback close => reporter-feedback


Comment:

 Replying to [comment:3 MikeNGarrett]:
 > get_cat_ID doesn't handle fancy quotes and apostrophe's, eg. “ ‘ ” ’
 >
 > On a mac, hold option and press [ and ], then hold shift and press the
 same buttons. I can confirm this is the reason it's not working. I don't
 know if other special characters are being handled.

 Can you provide the unicode specification of the "fancy" characters you're
 referring to? Reproducing your case with so little information is hard to
 do.

 For example, I don't have an apple computer at hand so I can not even
 reproduce what you write.

 If you can provide a formal specification of the characters you're
 referring to, feel free to reopen the ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14490#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list