Skip to content

fix(i18n): load textdomain on init (Issue #5) - #7

Merged
Christian-Devora merged 2 commits into
mainfrom
fix/issue-5-textdomain-init
Nov 4, 2026
Merged

Christian-Devora merged 2 commits into
mainfrom
fix/issue-5-textdomain-init

Conversation

@Christian-Devora

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • php -l on touched PHP files
  • ./scripts/run-phpunit-local.sh (9 tests, 54 assertions, 1 skipped)
  • gh act -j php-lint --container-architecture linux/amd64
  • GitHub Actions QA workflow green on this PR
  • Local deploy + operator re-activate plugin under WP_DEBUG

Avoid early get_plugin_data translation on plugins_loaded and register
load_plugin_textdomain on init (priority 0). Adds TextdomainLoadingTest
regression coverage for GitHub Issue #5.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T14:26:14.418338Z 6a51310 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Unblocks QA Plugin Check after Issue #5; keep intentional
load_plugin_textdomain on init for GitHub-distributed installs.
@Christian-Devora
Christian-Devora merged commit 6e993b2 into main Nov 4, 2026
5 checks passed
@Christian-Devora
Christian-Devora deleted the fix/issue-5-textdomain-init branch November 4, 2026 14:29
Christian-Devora added a commit that referenced this pull request Nov 5, 2026
* chore(mat): refresh sidecar via mat-sync rebootstrap

Sync MAT workflow assets from upstream (source-config v2, docs, scripts,
selective .cursor tracking) while leaving product PHPUnit WIP unstaged.

* fix(qa): use named Docker volume for local PHPUnit MySQL

Persist the MySQL datadir across container recreate and document that
the script never deletes Docker volumes.

* docs: close out Issue #5 plan after PR #7 merge and local deploy

* fix(mat): ignore live .mat.env and env credential files

Close Codex PR #6 finding 1: gitignore/cursorignore live secrets while
keeping samples tracked; doctor and phase1 green on the slice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix _load_textdomain_just_in_time notice (load textdomain on init)

1 participant