[wp-testers] post_class() function now returning IDs instead of slugs?

Peter Westwood peter.westwood at ftwr.co.uk
Fri May 22 17:08:48 GMT 2009


On 22 May 2009, at 12:15, Dean Robinson wrote:

> thanks Matt,
>
> don't particularly like the change, but I can now see why it was  
> changed
>
> My issue was:
>
> slug for "Category A" in production == slug for "Category A" in  
> development
> ID for "Category A" in production != ID for "Category A" in  
> development  (in most cases)

Personally, I feel that the IDs are pretty useless there for exactly  
that reason.

I have been meaning to change it back with some suitable sanitisation.

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-testers mailing list