Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

This sub-section’s WordPress bibliography lists the reference material consulted while preparing these pages.

A single-page, colour-coded summary of every topic of this sub-section: the platform (request lifecycle, core directories, the twelve core tables, version numbering and requirements), using WordPress (settings screens, roles, post statuses, editor shortcuts and media formats), administration (wp-config.php production values, Apache 2.4 and nginx rules, permissions, auto-updates, hardening, caching layers, cron, debugging and Multisite), block and classic themes, plugin and block development, the APIs, tooling and delivery, headless and AI, and a strip of what changed since older books and tutorials. It reflects WordPress 7.1.3 (examples tested; WordPress 7.1.4, released on 2026-10-28, is the current security release and should be used in production; 7.2 is planned for 2026-12-08), PHP 7.4 minimum with 8.3 or later recommended, theme.json version 3, Gutenberg 24.2.0, @wordpress/scripts 37.0.0, @wordpress/create-block 5.0.0, @wordpress/env 12.0.0, WP-CLI 2.12.0 and WPCS 3.4.1, checked on 2026-10-28, and is available as a downloadable PDF. A "Cloud deployment" block summarises the database, state placement, cron, release steps and key commands for the cloud deployment pages (checked on 2026-10-29).

For the full explanation, every option, and complete examples, see the dedicated pages:

Overview — WordPress.

Cloud deployment

The summary printed in the PDF for running WordPress on many pods in the cloud on Amazon EKS (checked on 2026-10-29); each row is explained on the pages above.

Topic Rule

Database

RDS for MariaDB 11.8 or MySQL 8.4 (Aurora MySQL 3 too), Multi-AZ, TLS with a verified CA through MYSQL_CLIENT_FLAGS and a db.php drop-in; an application user plus a separate migration user; keep pods x pm.max_children below max_connections.

State placement

Media: offload plugin and S3 behind CloudFront (EFS only as fallback; PHP code never on EFS). Object cache: ElastiCache for Valkey with WP_REDIS_*. Sessions: none (cookies and session_tokens). Configuration: environment variables read by wp-config.php; image immutable with DISALLOW_FILE_MODS.

Cron

DISABLE_WP_CRON true; one CronJob with concurrencyPolicy: Forbid running wp cron event run --due-now; web pods never schedule.

Release steps

Build one image per Git SHA, push to ECR, helm upgrade with a pre-upgrade Job running wp core update-db (add --network on Multisite), rolling update, --rollback-on-failure (Helm 4; --atomic in Helm 3).

Key commands

wp redis status, wp cron event list, wp core update-db, wp search-replace, kubectl -n lumenpress rollout status deployment/lumenpress-web, helm upgrade lumenpress ./lumenpress-wordpress.