Standards
- WordPress PHP coding standards. Every output is escaped, and every string is translatable in the
wpinterface-paddle-for-edd-pro text domain. Deliberate exceptions are annotated with phpcs:ignore and a reason. - No translation calls before
init (requirement messages are translated lazily). - PHP 7.4-compatible syntax only.
Release steps
- Run
php -l on every file, and phpcs --standard=WordPress; review new findings. - Regenerate the translation template (command below).
- Bump
Version in the plugin header, WPINTERFACE_PADDLE_PRO_VERSION, and Stable tag / changelog in readme.txt. - Sandbox smoke test: a one-time purchase, a subscription with a trial, a refund from EDD, a refund from Paddle, a cancellation, and pause and resume.
- Build the zip without development files (
.git, local test helpers).
wp i18n make-pot . languages/wpinterface-paddle-for-edd-pro.pot --domain=wpinterface-paddle-for-edd-pro --exclude=node_modules,vendor,docs