Automattic / Automattic/jetpack

Activity Log: Polylang causing multiple entries in Activity Log

Open
#10,613 6 comments 0 reactions 0 assignees View on GitHub
[Feature] Activity Log [Package] Sync [Pri] Normal [Status] Stale Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

When using [Polylang](https://wordpress.org/plugins/polylang/), activity for users viewing the page and getting their chosen translation are showing up as entries in the Activity Log. From the user in 1561676-zen, this is what they're seeing:

> I'm using Polylang multilingual support and everytime a page or post is shown to a user in a different language, I find in the activity protocol messages such as:
> - Language set to 'Deutsch'
> - Setting changed
> - Greeting text changed from 'Rispondi' to 'Kommentar verfassen'
> - Jetpack setting changed
> - Language set to 'English'
> - Setting changed
> - Greeting text changed from 'Kommentar verfassen' to 'Leave a Reply'
> - Jetpack setting changed

I logged into their WordPress.com dashboard, and I can see the different language entries behind the "upgrade" prompt:

![polylang-activitylog](https://user-images.githubusercontent.com/2814452/48435381-f559e580-e741-11e8-80c4-3e8a011fc9e5.png)

The user is also concerned that this is causing traffic issues and extra load on their site.

Marked it as High priority as it would impact anyone using Polylang.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Activity Log behavior with Polylang enabled and a page viewed in different languages. Trace the entries for language and setting changes, then verify that normal translation views no longer create those entries or add unnecessary site load.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.