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

Fix Publicize to Facebook for en_AU and en_CA locales #3347

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

nylen
Copy link
Contributor

@nylen nylen commented Jan 27, 2016

This fixes an issue where Publicize to Facebook silently fails for blogs in the en_AU and en_CA locales. The failures are due to #2117 and the fix is to revert it. As a bonus this also brings locales.php closer to being in sync with WPCOM.

If a locale has a facebook_locale value, we send that value to Facebook via the og:locale tag, which, for these two locales, causes Publicize to fail, presumably because neither of these two codes are in Facebook's list of supported locales. Ref: 471-gh-io

With af8e40f the desired effect of #2117 is still preserved after this change (the Facebook sharing buttons will still show up for these locales).

Revert "Fix for missing Facebook button certain languages"

This reverts commit d1c7759.
@nylen nylen added [Type] Bug When a feature is broken and / or not performing as intended [Feature] Sharing Post sharing, sharing buttons labels Jan 27, 2016
@nylen
Copy link
Contributor Author

nylen commented Jan 27, 2016

You win this round, bot

@jeherve jeherve added this to the 3.9.2 milestone Jan 27, 2016
@jeherve jeherve added [Feature] Publicize Now Jetpack Social, auto-sharing and removed [Feature] Sharing Post sharing, sharing buttons labels Jan 27, 2016
@zinigor zinigor added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Jan 27, 2016
@zinigor
Copy link
Member

zinigor commented Jan 27, 2016

Looks good, tested, works as expected!

jeherve added a commit that referenced this pull request Feb 10, 2016
Fix Publicize to Facebook for en_AU and en_CA locales
@jeherve jeherve merged commit 42a211d into Automattic:master Feb 10, 2016
@jeherve jeherve removed the [Status] Ready to Merge Go ahead, you can push that green button! label Feb 10, 2016
@nylen nylen deleted the fix/en_AU-en_CA-facebook-publicize branch February 14, 2016 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Publicize Now Jetpack Social, auto-sharing [Status] Tested on WP.com Touches WP.com Files [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants