[wp-hackers] Coding style

Rob Miller r at robm.me.uk
Mon Jul 3 23:23:44 GMT 2006


Michael D Adams wrote:
> On Jul 3, 2006, at 2:59 PM, Robert Deaton wrote:
>> I can't think of a single variable in the WP source off hand that has an
>> uppercase letter in it.
>
> Inconsequentially, they're all over the place.  $post_ID, $comment_ID, 
> etc.
> Michael
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
While we're at it: I've always taken $variables_with_underscores to be 
the standard rather than $camelCase or $PascalCase variables, but I 
realise that's never been made explicit. Can we add that?

-- 
Rob Miller
http://robm.me.uk/ | http://kantian.co.uk/



More information about the wp-hackers mailing list