summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/notes.php')
-rw-r--r--plugins/jetpack/modules/notes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/notes.php b/plugins/jetpack/modules/notes.php
index 7da43732..b1410084 100644
--- a/plugins/jetpack/modules/notes.php
+++ b/plugins/jetpack/modules/notes.php
@@ -143,7 +143,7 @@ class Jetpack_Notifications {
}
if ( class_exists( 'GP_Locales' ) ) {
- $wpcom_locale_object = GP_Locales::by_field( 'wp_locale', get_locale() );
+ $wpcom_locale_object = GP_Locales::by_field( 'wp_locale', $wpcom_locale );
if ( $wpcom_locale_object instanceof GP_Locale ) {
$wpcom_locale = $wpcom_locale_object->slug;
}