A tongue-in-cheek look at coding standards in the WordPress core and the average WordPress plugin.
- # Declare variables global- in case they're going to be used again
- All function/method parameters should be strings (e.g. 'yes'/'no') - for clarity
- Functions and methods should return mixed types
- No need to separate PHP logic from HTML, JS or CSS
- Don't worry about PHP Notices - they're not important