[wp-trac] Re: [WordPress Trac] #2652: category_exists() checks
using slug
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 13 04:43:09 GMT 2006
#2652: category_exists() checks using slug
----------------------------+-----------------------------------------------
Id: 2652 | Status: closed
Component: Administration | Modified: Thu Apr 13 04:43:09 2006
Severity: trivial | Milestone:
Priority: lowest | Version: 2.0.2
Owner: anonymous | Reporter: Viper007Bond
----------------------------+-----------------------------------------------
Comment (by ryan):
Maybe add slug as an optional second arg and check both name and slug for
uniqueness.
{{{
category_exists($cat_name, $cat_slug = '')
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2652>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list