[wp-trac] [WordPress Trac] #2652: category_exists() checks using
slug
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 9 08:19:52 GMT 2006
#2652: category_exists() checks using slug
----------------------------+-----------------------------------------------
Id: 2652 | Status: new
Component: Administration | Modified: Sun Apr 9 08:19:52 2006
Severity: normal | Milestone:
Priority: normal | Version: 2.0.2
Owner: anonymous | Reporter: Viper007Bond
----------------------------+-----------------------------------------------
Okay, maybe I'm missing something, but I noticed when you give
{{{category_exists()}}} a category name, it creates a sanitized version of
that name (i.e. what it's slug would be) and then sees if there are any
categories that already have that slug. However, you can change the slugs
for categories in the admin area to something completely different than
the category name.
Now is {{{category_exists()}}} really just used to see if a category slug
exists? Or is it just checking in a bad method?
--
Ticket URL: <http://trac.wordpress.org/ticket/2652>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list