[wp-hackers] Re: $single

Matt Mullenweg m at mullenweg.com
Sun Jun 20 19:18:32 UTC 2004


Ryan Boren wrote:

> Yeah, I'd like some better namespacing. is_single() and friends get the
> states from a $wp_state "object".  I don't expose $wp_state in the
> templates cause I don't think template writers should have to put up
> with OO syntax or namespaces.  Wrap all that in simple function calls
> like all the template tags.

I like that.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...




More information about the hackers mailing list