As you know from Getting Started, in order to keep the WordPress.com environment safe and performing to your high standards, we review in detail all plugins and themes. We also spot review all code before deploying it.
In this section, we will give you some suggestions for our best practices and helpful tips to help you code better, faster, and stronger.
- Caching
- CSS Files
- JavaScript
- Database Queries
- Security Overview
- Best Practices Introduction
- Fetching Remote Data
- Shortcodes
- Custom User Roles
- Use current_time(), not date_default_timezone_set()
- Options Size Limit (1MB)
- WordPress Coding Standards
- Using A Shared/Common Theme Across Multiple Sites
- Validating, Sanitizing, and Escaping
- Uncached Functions
- Localizing & Translating Themes
- Batcache
- Creating Cache Groups with vary_cache_on_function
- Writing Bin Scripts
- Change Your Pretty Permalinks or Add Custom Rewrite Rules
- Activating a Plugin on WordPress.com VIP