Skip to content

sync: 1267-dependency-updates to develop - #384

Merged
James-Roberts merged 9 commits into
developfrom
1267-dependency-updates-development
Sep 16, 2026
Merged

James-Roberts merged 9 commits into
developfrom
1267-dependency-updates-development

Conversation

@github-actions

Copy link
Copy Markdown

sync-branches: Merge #383 to develop

svandragt and others added 9 commits August 31, 2026 09:50
WPCS 3.4.1 raised the minimum global-prefix length from 3 to 4
characters, so the theme's `wmf` prefix is now rejected as too short
(PrefixAllGlobals.ShortPrefixPassed). Once rejected, the prefix is
dropped entirely and every `wmf_*` function, hook, and the `WMF\`
namespace is reported as unprefixed, failing phpcs on any PR that
touches them.

Change the configured prefix to `wmf_`, which every existing global
already matches (WPCS treats `_` and `\` as the same separator). No code
is renamed; this is purely the linter prefix string.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-remaining

Add donation-bar translations for es_ES, ar, pt_BR (#1241 follow-up)
…wording)

The French subsite runs under locale fr-FR, so WordPress looks for
fr-FR.mo. The theme shipped only fr_FR.mo, so the catalogue never
matched and the donation bar fell back to English on the live /fr/
site. Every other catalogue in the batch is hyphen-named (de-DE, it-IT)
and loads correctly; fr_FR was the odd underscore-named file with no
matching installed language pack to paper over the mismatch.

Rename the catalogue to the hyphen convention and re-sync two donation
labels from the client sheet:
  Give monthly: Tous les mois -> Faire un don mensuel
  Annual:       Tous les ans  -> Annuel

Recompile fr-FR.mo and set the PO Language header to fr_FR.

Refs #1241.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1241: Fix French donation-bar locale (rename fr_FR → fr-FR, re-sync wording)
1231: Fix accordion 'undefined' class + migrate ESLint to flat config (#127)
Lengthen phpcs global prefix to wmf_ for WPCS 3.4.1
@James-Roberts
James-Roberts merged commit 7ec8875 into develop Sep 16, 2026
11 checks passed
@James-Roberts
James-Roberts deleted the 1267-dependency-updates-development branch September 16, 2026 01:57
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.

2 participants