[wp-hackers] Coding Standards, Tabs and Spaces
Mark Jaquith
mark.wordpress at txfx.net
Mon Jan 9 07:11:06 GMT 2006
On Jan 9, 2006, at 1:15 AM, Chris Lott wrote:
> The Coding Standards document on the Codex indicates to use real tabs
> rather than spaces. But all the pages I've looked at so far from the
> Subversion checkout appear to be using spaces
Not all of the files are using the tab convention. Before the 2.0
release, I went through and fixed a some of the files, especially the
wp-includes/*-functions.php type ones... but there are plenty more
that are using spaces. I'm going to continue to work to do "cleanup"
runs on the code whenever I have time... so the next major release
should be even "prettier."
When submitting patches, try and follow the coding conventions, and
maybe look at some of my "massive code cleanup" patches to see the
kind of things I was correcting, regarding tabs, and other spacing/
whitespace issues:
http://trac.wordpress.org/search?q=massive+code+cleanup&ticket=on
--
Mark Jaquith
http://txfx.net/
More information about the wp-hackers
mailing list