3 ms·
So we're wrong to wish for WordPress to adopt PSR standards instead of their own idiosyncratic coding style? I really like PSR compliant PHP code (it's almost
by joemaller1 13y ago
So we're wrong to wish for WordPress to adopt PSR standards instead of their own idiosyncratic coding style?
I really like PSR compliant PHP code (it's almost PEP 8-ish), the WordPress standards are frustratingly opposite on some key concepts (braces, indentation). But WP is so popular, I don't see how this might ever be resolved.
https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md https://github.com/php-fig/fig-standards/blob/master/accepte...
http://make.wordpress.org/core/handbook/coding-standards/php/ http://make.wordpress.org/core/handbook/coding-standards/php...
- stephenr 13y agoCode style is the least of Wordpress' faults. Completely fucking insane architecture (or lack thereof) and ridiculous use of the database should be much higher concerns