This commit is contained in:
Javier Casares 2026-08-18 16:29:50 +00:00
commit 6231118308
6 changed files with 48 additions and 24 deletions

View file

@ -1,5 +1,30 @@
== Changelog == == Changelog ==
= 0.6.2 =
_Release date: 2026-08-18_
**Highlights**
* Translations payloads in the WordPress.org update checks are now sent as empty entries, removing the last translation metadata
**Changed**
* Safe modes now send `{"project":{"locale":{}}}` translation payloads (only the project and locale identifiers) instead of the POT/PO dates, for the Core, Themes, and Plugins update checks
**Compatibility**
* WordPress: 4.0 - 7.1
* PHP: 5.6 - 8.5
* MariaDB: 10.6+
* Multisite: compatible (Per-site and Global modes)
**Tests**
* WordPress 7.2-alpha-63320, PHP 8.5.9, MariaDB 11.8.8
* PHP Coding Standards: 3.13.6
* WordPress Coding Standards: 3.4.1
= 0.6.1 = = 0.6.1 =
_Release date: 2026-08-18_ _Release date: 2026-08-18_

View file

@ -435,11 +435,11 @@ if ( ! class_exists( 'Robotstxt_Telemetry_Admin' ) ) {
), ),
'robotstxt_telemetry_wp_themes_check' => array( 'robotstxt_telemetry_wp_themes_check' => array(
'label' => __( 'WordPress Themes version check', 'robotstxt-telemetry' ), 'label' => __( 'WordPress Themes version check', 'robotstxt-telemetry' ),
'desc' => __( 'Safe sends only the theme name, version, update URI, template, and stylesheet, plus translation dates and locale. Original also sends author details and other theme metadata.', 'robotstxt-telemetry' ), 'desc' => __( 'Safe sends only the theme name, version, update URI, template, and stylesheet, plus the site locale. Original also sends author details and other theme metadata.', 'robotstxt-telemetry' ),
), ),
'robotstxt_telemetry_wp_plugins_check' => array( 'robotstxt_telemetry_wp_plugins_check' => array(
'label' => __( 'WordPress Plugins version check', 'robotstxt-telemetry' ), 'label' => __( 'WordPress Plugins version check', 'robotstxt-telemetry' ),
'desc' => __( 'Safe sends only the plugin version, update URI, and requirements, plus translation dates, locale, and the "all" flag. Original also sends names, descriptions, authors, and other plugin metadata.', 'robotstxt-telemetry' ), 'desc' => __( 'Safe sends only the plugin version, update URI, and requirements, plus the locale and the "all" flag. Original also sends names, descriptions, authors, and other plugin metadata.', 'robotstxt-telemetry' ),
), ),
); );

View file

@ -233,7 +233,11 @@ if ( ! class_exists( 'Robotstxt_Telemetry_WordPress_Api' ) ) {
} }
/** /**
* Reduce translations payloads to the translation project dates. * Reduce translations payloads to empty entries.
*
* Only the project and locale identifiers are kept (the API needs
* them to know which translations to check); all the translation
* metadata (dates, generators, versions) is removed.
* *
* @param string $json Encoded translations payload. * @param string $json Encoded translations payload.
* @return string * @return string
@ -254,11 +258,7 @@ if ( ! class_exists( 'Robotstxt_Telemetry_WordPress_Api' ) ) {
foreach ( $locales as $locale => $fields ) { foreach ( $locales as $locale => $fields ) {
if ( is_array( $fields ) ) { if ( is_array( $fields ) ) {
$kept = $this->keep_fields( $fields, array( 'pot-creation-date', 'po-revision-date' ) ); $filtered[ $slug ][ $locale ] = new stdClass();
if ( ! empty( $kept ) ) {
$filtered[ $slug ][ $locale ] = $kept;
}
} }
} }
} }

View file

@ -2,14 +2,14 @@
# This file is distributed under the GPL v3 or later. # This file is distributed under the GPL v3 or later.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Telemetry disabler (by ROBOTSTXT) 0.6.1\n" "Project-Id-Version: Telemetry disabler (by ROBOTSTXT) 0.6.2\n"
"Report-Msgid-Bugs-To: https://www.robotstxt.software/plugins/robotstxt-telemetry/" "Report-Msgid-Bugs-To: https://www.robotstxt.software/plugins/robotstxt-telemetry/"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-08-18T15:14:14+00:00\n" "POT-Creation-Date: 2026-08-18T15:16:37+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n" "X-Generator: WP-CLI 2.12.0\n"
"X-Domain: robotstxt-telemetry\n" "X-Domain: robotstxt-telemetry\n"
@ -130,7 +130,7 @@ msgid "WordPress Themes version check"
msgstr "" msgstr ""
#: includes/class-robotstxt-telemetry-admin.php:438 #: includes/class-robotstxt-telemetry-admin.php:438
msgid "Safe sends only the theme name, version, update URI, template, and stylesheet, plus translation dates and locale. Original also sends author details and other theme metadata." msgid "Safe sends only the theme name, version, update URI, template, and stylesheet, plus the site locale. Original also sends author details and other theme metadata."
msgstr "" msgstr ""
#: includes/class-robotstxt-telemetry-admin.php:441 #: includes/class-robotstxt-telemetry-admin.php:441
@ -138,7 +138,7 @@ msgid "WordPress Plugins version check"
msgstr "" msgstr ""
#: includes/class-robotstxt-telemetry-admin.php:442 #: includes/class-robotstxt-telemetry-admin.php:442
msgid "Safe sends only the plugin version, update URI, and requirements, plus translation dates, locale, and the \"all\" flag. Original also sends names, descriptions, authors, and other plugin metadata." msgid "Safe sends only the plugin version, update URI, and requirements, plus the locale and the \"all\" flag. Original also sends names, descriptions, authors, and other plugin metadata."
msgstr "" msgstr ""
#: includes/class-robotstxt-telemetry-admin.php:454 #: includes/class-robotstxt-telemetry-admin.php:454

View file

@ -3,9 +3,9 @@ Contributors: robotstxt, javiercasares
Tags: telemetry, privacy, http, requests, logging Tags: telemetry, privacy, http, requests, logging
Requires at least: 4.0 Requires at least: 4.0
Tested up to: 7.1 Tested up to: 7.1
Stable tag: 0.6.1 Stable tag: 0.6.2
Requires PHP: 5.6 Requires PHP: 5.6
Version: 0.6.1 Version: 0.6.2
License: GPL-3.0-or-later License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt License URI: https://www.gnu.org/licenses/gpl-3.0.txt
@ -21,9 +21,9 @@ Telemetry disabler (by ROBOTSTXT) gives you control over that conversation in tw
The three WordPress.org update checks run in "Safe" mode by default, meaning they only send the minimum data required to keep receiving updates: The three WordPress.org update checks run in "Safe" mode by default, meaning they only send the minimum data required to keep receiving updates:
* **Core version check** (`api.wordpress.org/core/version-check/`): only the WordPress version, PHP version, locale, normalized MySQL/MariaDB version (for example "11.8.8-MariaDB", without distribution or logging suffixes), and update channel. Site counts, database history, PHP extensions and platform details are removed, the site-identifying `wp_install`/`wp_blog` headers are stripped, and translation payloads are reduced to their project dates (no `Project-Id-Version` or `X-Generator` metadata). * **Core version check** (`api.wordpress.org/core/version-check/`): only the WordPress version, PHP version, locale, normalized MySQL/MariaDB version (for example "11.8.8-MariaDB", without distribution or logging suffixes), and update channel. Site counts, database history, PHP extensions and platform details are removed, the site-identifying `wp_install`/`wp_blog` headers are stripped, and translation payloads are reduced to empty entries (only the project and locale identifiers are kept).
* **Themes version check** (`api.wordpress.org/themes/update-check/`): each theme is reported with only its name, version, update URI, template and stylesheet; translations are reduced to their project dates, plus the site locale. * **Themes version check** (`api.wordpress.org/themes/update-check/`): each theme is reported with only its name, version, update URI, template and stylesheet; translations are reduced to empty entries, plus the site locale.
* **Plugins version check** (`api.wordpress.org/plugins/update-check/`): each plugin is reported with only its version, update URI and requirements (WordPress, PHP, dependent plugins); translations are reduced to their project dates, plus the locale and the "all" flag. * **Plugins version check** (`api.wordpress.org/plugins/update-check/`): each plugin is reported with only its version, update URI and requirements (WordPress, PHP, dependent plugins); translations are reduced to empty entries, plus the locale and the "all" flag.
* Update URIs pointing at wordpress.org are kept as-is (they are public slugs); update URIs hosted anywhere else are replaced with a deterministic hash, so external plugin and theme sources are not disclosed. * Update URIs pointing at wordpress.org are kept as-is (they are public slugs); update URIs hosted anywhere else are replaced with a deterministic hash, so external plugin and theme sources are not disclosed.
Each check can be switched back to "Original" in the Settings screen to send exactly what WordPress would send without this plugin. Each check can be switched back to "Original" in the Settings screen to send exactly what WordPress would send without this plugin.
@ -120,6 +120,10 @@ On WordPress versions older than 5.1, the Core update check Safe mode cannot red
Only the 3 last versions. The full changelog will be at changelog.txt Only the 3 last versions. The full changelog will be at changelog.txt
= 0.6.2 =
* Changed: translations payloads in the WordPress.org update checks now send empty entries (only the project and locale identifiers), removing the POT/PO dates
= 0.6.1 = = 0.6.1 =
* Changed: minimum requirements lowered to WordPress 4.0 and PHP 5.6, with compatibility fallbacks for older WordPress APIs * Changed: minimum requirements lowered to WordPress 4.0 and PHP 5.6, with compatibility fallbacks for older WordPress APIs
@ -130,11 +134,6 @@ Only the 3 last versions. The full changelog will be at changelog.txt
* Added: Multisite configuration mode (Per-site by default, Global from the Network Admin) to run the settings and logs per site or centrally for the whole network * Added: Multisite configuration mode (Per-site by default, Global from the Network Admin) to run the settings and logs per site or centrally for the whole network
= 0.5.0 =
* Added: log retention setting (12 hours by default, 1 day, 3 days) with a 1000-entry cap, cleanup when browsing the logs and via a twice-daily cron
* Added: "Delete all logs" button with a double confirmation step
= Previous versions = = Previous versions =
If you want to see the full changelog, visit the [changelog.txt](https://www.robotstxt.software/plugins/robotstxt-telemetry/) page. If you want to see the full changelog, visit the [changelog.txt](https://www.robotstxt.software/plugins/robotstxt-telemetry/) page.

View file

@ -4,7 +4,7 @@
* Plugin URI: https://www.robotstxt.software/plugins/robotstxt-telemetry/ * Plugin URI: https://www.robotstxt.software/plugins/robotstxt-telemetry/
* Update URI: https://www.robotstxt.software/plugins/robotstxt-telemetry/ * Update URI: https://www.robotstxt.software/plugins/robotstxt-telemetry/
* Description: Reduces the telemetry WordPress sends out and logs every outbound HTTP request, so your site shares less and you can see everything. * Description: Reduces the telemetry WordPress sends out and logs every outbound HTTP request, so your site shares less and you can see everything.
* Version: 0.6.1 * Version: 0.6.2
* Author: ROBOTSTXT * Author: ROBOTSTXT
* Author URI: https://www.robotstxt.software/ * Author URI: https://www.robotstxt.software/
* Text Domain: robotstxt-telemetry * Text Domain: robotstxt-telemetry
@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; exit;
} }
define( 'ROBOTSTXT_TELEMETRY_VERSION', '0.6.1' ); define( 'ROBOTSTXT_TELEMETRY_VERSION', '0.6.2' );
define( 'ROBOTSTXT_TELEMETRY_DB_VERSION', '1.1.0' ); define( 'ROBOTSTXT_TELEMETRY_DB_VERSION', '1.1.0' );
define( 'ROBOTSTXT_TELEMETRY_PLUGIN_FILE', __FILE__ ); define( 'ROBOTSTXT_TELEMETRY_PLUGIN_FILE', __FILE__ );
define( 'ROBOTSTXT_TELEMETRY_PLUGIN_DIR', __DIR__ ); define( 'ROBOTSTXT_TELEMETRY_PLUGIN_DIR', __DIR__ );