[wp-hackers] De-emphasize use of ID values in functions?

Viper007Bond viper at viper007bond.com
Mon Apr 21 01:50:54 GMT 2008


Yeah, slugs are already allowed in many, many places ( is_page('about'),
etc.) which is a great thing. However, ID should still be primary. That's
the whole point of the ID after all.

On Sun, Apr 20, 2008 at 4:25 PM, Stephen Rider <wp-hackers at striderweb.com>
wrote:

> Another -1 on moving away from IDs, for the same reason.  ID never
> changes; title and slug can change.
>
> Allow both if you think slugs are easier to work with, but don't remove
> the ability to work with IDs.
>
> Stephen
>
> Viper007Bond wrote:
>
> > -1 to moving away from IDs. It's the only never changing value of a
> > post.
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list