You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop the WordPress and MySQL scaffolding from make-pot
`wp i18n make-pot` is static analysis over the source tree: it parses PHP/JS
for translation calls and writes a .pot. It never bootstraps WordPress and
never touches a database. Verified by running it against this plugin on a
machine with no WordPress, no MySQL and no wp-config.php - exit 0.
So the mysql:5.7 service, the readiness loop, the wordpress.org tarball
download, the wp-config sed, `wp core install`, and the copy into
wp-content/plugins and back out were all satisfying a dependency that does
not exist. wp-cli now comes from setup-php's `tools:`, replacing the apt PHP
install and the phar download. The xdebug.max_nesting_level line went with
it: that apt line never installed xdebug, and `coverage: none` keeps it off.
make-pot still runs against dist/accessibility-checker exactly as before, so
the generated POT is unchanged. It writes to $RUNNER_TEMP rather than into
the plugin copy only because the committed dist copy is the baseline the next
step diffs against.
No behaviour change otherwise: same triggers, same `base` input, same PR
targeting, same single .pot in add-paths.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019LoLgW7oFjBPxGea9kiZJ2
0 commit comments