[wp-trac] [WordPress Trac] #14490: function "get cat ID" fails if category name has an apostrophe
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 1 21:09:11 UTC 2010
#14490: function "get cat ID" fails if category name has an apostrophe
--------------------------+-------------------------------------------------
Reporter: iamronen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: 2nd-opinion close
--------------------------+-------------------------------------------------
Changes (by blepoxp):
* keywords: => 2nd-opinion close
Comment:
I could not reproduce this with either of the following:
{{{
echo get_cat_ID( 'Test \'an apostrophe!' ); // echoed the correct category
ID
}}}
{{{
echo get_cat_ID( "Test 'an apostrophe!" ); // echoed the correct category
ID
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14490#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list