Skip to content

Fix wp.org review round 2: activation hooks, literal gettext, plugin_dir_url - #72

Merged
MhaWay merged 1 commit into
mainfrom
fix/wporg-round2
Sep 20, 2026
Merged

MhaWay merged 1 commit into
mainfrom
fix/wporg-round2

Conversation

@MhaWay

@MhaWay MhaWay commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Activation/deactivation hooks now register against the MAIN plugin file (constant GGALLY_MAIN_PLUGIN_FILE) so tables are created on clean installs. Registry gettext calls converted to string literals (190 sites) + i18n/catalog.php (337 literal entries, never executed) so POT extraction sees every string. Form renderer field labels: literal gettext call sites + esc_html after translation. Bootstrap URL construction: hardcoded wp-content segment removed, plugin_dir_url only. Version 0.1.1.

@MhaWay
MhaWay merged commit bc4d607 into main Sep 20, 2026
4 checks passed
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