Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace 'country_of_residency' with 'passport_issuing_country' #1278

Merged
merged 4 commits into from May 13, 2024

Conversation

pbearne
Copy link
Contributor

@pbearne pbearne commented Mar 29, 2024

The 'country_of_residency' field in both 'speaker-visa.php' and 'attendee-visa.php' templates has been changed to 'passport_issuing_country'. This more accurately represents the data input and provides clearer information about where the passport was issued.

Fixes #1277

Props pbearne shawnhooper

@renintw renintw added [Component] Docs Generate official docs for WordCamps (visa letters, sponsorship agreements) [Priority] Medium labels Apr 11, 2024
@renintw
Copy link
Contributor

renintw commented Apr 29, 2024

@WordPress/community-admins Do you have any thoughts on the replacement of words here? There's already PR for it and it looks reasonable.

@dorsvenabili
Copy link
Collaborator

This makes total sense to me and sounds like an improvement useful for all visa letters of all WP events.

The 'country_of_residency' field in both 'speaker-visa.php' and 'attendee-visa.php' templates has been changed to 'passport_issuing_country'. This more accurately represents the data input and provides clearer information about where the passport was issued.
The translation function has been upgraded from `_e` to `esc_html_e` to enhance security and accuracy in the form labels across 'sponsorship-agreement.php' and 'speaker-visa.php' files. This small but critical change is aimed at preventing potential security threats while ensuring the correct display of translated strings.
The `_e` translation function used in the sponsorship agreement form has been replaced with `esc_html_e`. This improves the security and correctness of translated strings in 'sponsorship-agreement.php'. The change is aimed at mitigating potential security threats and ensuring accurate display of translated text.
The `_e` translation function used in the sponsorship agreement form has been replaced with `esc_html_e`. This improves the security and correctness of translated strings in 'sponsorship-agreement.php'. The change is aimed at mitigating potential security threats and ensuring accurate display of translated text.
@renintw renintw force-pushed the 1277_Passport-Issuing-Country branch from 1cf1d74 to 31e7d24 Compare May 13, 2024 15:07
Copy link
Contributor

@renintw renintw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the enhancement! For the wording, and the change of esc_html_e.

@renintw renintw merged commit 51f0927 into WordPress:production May 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Docs Generate official docs for WordCamps (visa letters, sponsorship agreements) [Priority] Medium
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Visa Docs - Country of Residency vs Country Issuing Password
3 participants