Developer Pre-Launch QA
Before the launching of a site, always check these code items in the repository directory:
- Verify version number is updated and matches in
css-dev/style.scss,functions.php, &package.json. - Verify that Responsive Foundation points to an actual release not the
developbranch of responsive-foundation inbower.json - Verify
readme.mdfile has been updated with theme specific information. - Verify that all
TODO‘s have been completed, removed, and/or issues opened for anything remaining. - Verify that all
Test Codehas been removed. - Remove any
// commented outcode. - Verify that all
php-dev/templates and hooks from the starter theme have been removed and Delete thephp-dev/folder and related filters infunctions.php. - Complete final code formatting.
- Look for any micro-optimizations ( Example: removing close
?>tags or unnecessary variable assignments. ) - Look for complicated code and consider refactoring.
- Consider ‘function-alizing’ any repeated or repeating code.
- Verify each function has a
doc bloccomment. - Deactivate Query Monitor and other plugins not needed on Production[Live].
- Verify all images inserted via code have a size associated to prevent extra large several MB images from outputting.